我在本地主机中有学生数据库,但仍显示此信息

问题描述 投票:-2回答:1

install.packages(“ RMySQL”)库(RMySQL)库(dbConnect)install.packages(“ dbConnect”,type =“源”)库(dbConnect)mysqlconnection = dbConnect(MySQL(),用户='root',密码='',dbname ='student',host ='localhost')

。local(drv,...)中的错误:无法连接到数据库:错误:未知数据库'student':

rmysql
1个回答
0
投票

mysqlconnection = dbConnect(MySQL(),用户='root',密码=',dbname ='student',端口= 3308)dbListTables(mysqlconnection)

© www.soinside.com 2019 - 2024. All rights reserved.