程序里边连Access的代码为:
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = True
SQLCA.DBParm = "ConnectString='driver=Microsoft Access Driver (*.mdb)DBQ=123.mdb'"
程IP2数据库database2开启远程连接开启之后,本地数据库database1才有权限访问远程的database2
2)创建远程登陆用户并授权
9
USE mysql
SELECT host,user,PASSWORD from user
GRANT ALL PRIVILEGES ON *.* TO "root"@"%" IDENTIFIED BY "yourpassward"
FLUSH PRIVILEG
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)