How to set the MySQL environment variable under windows

Source: Internet
Author: User

Method One:

How to set the MySQL environment variable under Windows

Keywords: mysql, Setting environment Variables, environment variable settings

My Computer, properties, advanced environment variables

Select Path, after which you add: your MySQL folder path/bin (e.g. D:\Program files\mysql\mysql Server 5.0\bin)

Path=.;D: \program Files\mysql\mysql Server 5.0\bin (note append, not overwrite)

Method Two:

Go to the MySQL bin directory with the CD command first
Then Mysql-u root-p.

Just enter the root password.
You can do it.

-----------------------------------------------------

Pro-Test:

Neither method one, but method two,

The command line is not available for MySQL input.

Enter mysql-uroot-p directly and enter the password to-uroot the middle of the space can be.

Related Article

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.