install.packages(“ RMySQL”)库(RMySQL)库(dbConnect)install.packages(“ dbConnect”,type =“源”)库(dbConnect)mysqlconnection = dbConnect(MySQL(),用户='root',密码='',dbname ='student',host ='localhost')
。local(drv,...)中的错误:无法连接到数据库:错误:未知数据库'student':
mysqlconnection = dbConnect(MySQL(),用户='root',密码=',dbname ='student',端口= 3308)dbListTables(mysqlconnection)