Install MySql notes

Source: Internet
Author: User

1. First, decompress the mysql-noinstall-5.2.3-falcon-alpha-win32.zip package in the E drive and change it to Mysql, which is placed in the root directory of the E drive.

2. Create a new "my. ini" file in notepad and enter

[WinMySQLAdmin]
Servers = E:/Mysql/bin/mysqld-nt.exe
[Mysqld]
Basedir = E:/Mysql
Datadir = E:/Mysql/data

And put it in the root directory of drive C.

3. Modify the Path environment variable and add "; E: \ Mysql \ bin.

4. Run CMD and enter "mysqld-nt-install" in the E: \ Mysql \ bin directory. The prompt "Service successfully installed." appears ."

5. Continue to enter "net start mysql". "MYSQL service is starting."; "MYSQL service started successfully ."

OK!

6. due to errors in the middle, there are always 1067 errors. Sometimes you need to restart the machine.


7. There is no password for the new installation. Enter "mysql-uroot-p" to enter, and the prompt is changed to "mysql>". Change the password to "mysqladmin-uroot-password 123456 ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.