Installation and uninstallation of the installation board MySQL

Source: Internet
Author: User

Originally downloaded an installed version of MySQL, the official network is written 32-bit, but can be used on 64-bit machine, the installation process of the other modules can basically install, but the most important MySQL server installation failed. The log shows a missing vs2003, I installed a 2007, but I still can't install MySQL server. The online search did not find a practical solution, and finally decided to re-download a version.

Download a free-install version of MySQL from the official website, the first time with this version, recorded.

1, after the decompression of a new My.ini file, the contents are as follows

[MySQL]
# Set the MySQL client default character set
Default-character-set=utf8
[Mysqld]
#设置3306端口
port=3306
# set up the MySQL installation directory
basedir=d:/mysql/mysql-5.7.19-winx64/
# Set up a storage directory for MySQL database data
datadir=d:/mysql/mysql-5.7.19-winx64/data/
# Maximum number of connections allowed
max_connections=200
# The character set used by the service side defaults to the 8-bit encoded latin1 character set
Character-set-server=utf8
# The default storage engine that will be used when creating a new table
Default-storage-engine=innodb
# Password-Free login
Skip-grant-tables

2. Create an empty folder data

3, run cmd with administrator privileges, switch to the MySQL bin directory, run "Mysqld.exe-install"

4, then you can see in the service Manager MySQL, directly with the mouse can start and stop

Gorgeous Split-line------------------------------------------------------------------------------------------------------------------

If the installation of MySQL has a problem requiring "uninstall", as long as a single command can be done "sc delete mysql", where MySQL is the name. Then you can re-install MySQL.

Installation and uninstallation of the installation board MySQL

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.