Ali cloud with Navicat MySQL connection problems

Ali cloud coat well with Navicat MySQL connection appears the password is correct, Navicat connection test fails.

Solution: Internet many programs, such as: release 3306 port wisdom, the wisdom of adding security groups. Confirmed that none of these problems, the password is correct, the test connection fails or there.
1: Xshell connection Ali cloud Login MySQL

2: Use a database (this step can be omitted)

3: Execute command (authorization):. GRANT ALL PRIVILEGES ON * * TO 'root' @ '%' IDENTIFIED BY ' own mysql password 'the WITH the GRANT the OPTION;

. 4: Run: the FLUSH PRIVILEGES;

. 5: test the connection again Navicat

Guess you like

Origin www.cnblogs.com/cao-yin/p/11640764.html