After installing mysql5.5, some problems and solutions


After installing mysql5.5, the problem that it can
not
be
opened ;C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe" "--defaults-file=C:\Program Files\MySQL\MySQL Server 5.5\my.ini" "-uroot" " -p"
Go to the corresponding installation path C:\Program Files\MySQL\MySQL Server 5.5 to see if there is a my.ini file
Current situation: there is no my.ini file, there are some other files, copy, paste, and modify the name to my.ini, as shown in the following figure:

(The picture cannot be opened)
Now open the MySQL5.5 Command Line Client, it will not flash back, but remind you to enter the password.


2. Because the initial password is not set, the password is empty, press Enter directly, and send the flash
back to the service. It is found that after installing mysql, there is no new mysql service.
Solution: Run cmd as an administrator

, be sure to run cmd as an administrator, otherwise it will report:
Enter in cmd:
Install/Remove of the Service Denied!
Then in cmd
Enter into the path of C:\Program Files\MySQL\MySQL Server 5.5\bin and
execute: mysqld.exe --install
runs successfully, and the mysql service appears in the service.
Start the service.
After running the MySQL5.5 Command Line Client again and
pressing Enter, it can run normally
or use sqlyong to connect.

Successful installation.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326242641&siteId=291194637