could not connect to the specified instance. Mysql Error number 2003 Can't connect to Mysql server on'localhost'(10061)
未授权。到mysql中grant all on *.* to root@%;
我进去了,选定test数据库,然后输入grant all on *.* to root@%; 报错: error 1064(42000):you have an error in your sql syntax;check the manual that corresponds to your Mysql server version for the right syntax to use near 'root@%'at line 1
如果以ROOT账号,指明的hostname是什么? localhost?
Mysql Error number 2003
Can't connect to Mysql server on'localhost'(10061)
报错:
error 1064(42000):you have an error in your sql syntax;check the manual that corresponds to your Mysql server version for the right syntax to use near 'root@%'at line 1
grant all privileges on *.* to newuser@%try to use the new user to connect