1. view the default execution parameters of MySQL command line client. Method: Start-> All Programs-> mysql-> MySQL
Server5.5-> mysql5.5 command line client, right-click Properties.
2. copy the file as follows:
"G: \ Program Files \ mysql server 5.5 \ bin \ mysql.exe" "-- defaults-file = G: \ Program Files \ mysql server 5.5 \ My. ini"
"-Uroot" "-P"
3. Find the problem "-- defaults-file = G: \ Program
Files \ mysql server 5.5 \ My. ini"
The configuration file specified in "-uroot" "-P" is the my. ini file.
Here we will check the installation directory, that is, G: \ Program Files \ mysql server 5.5. None of the six INI files are my. ini.
4. Copy the my-small.ini file, rename it my-ini file, save.
5. Start MySQL command line client and solve the problem.
Post:
Http://blog.csdn.net/xxx0418/article/details/8074499
Note: in MySQL Server 5.6
Server 5.5 \ My. ini changed to... MySQL
Server 5.5 \ my-default.ini is also available
Post: