mysql server/client installation

The download address is
http://www.mysql.com/downloads/
MySQL Enterprise Edition (commercial) Enterprise Edition is charged, pro
MySQL Cluster CGE (commercial) Cluster Edition
MySQL Community Edition (GPL) Community Edition is free, pro (open source, GPL open source license)
Click Community (GPL) Downloads »
http://dev.mysql.com/downloads/mysql/ (server)
http://dev.mysql.com/downloads/mysql/5.5.html#downloads
http:/ /dev.mysql.com/downloads/mysql/5.1.html#downloadsDownload

version 5.5
http://dev.mysql.com/downloads/mysql/5.5.html#downloadsClick
No thanks, just start my download.
Download one zip package
installation
Put the downloaded mysql zip package (such as mysql-5.5.46-win32.zip) into the specified folder, (E:\develop\program\mysql)
decompress and
start
it in the decompressed directory (such as mysql-5.5.46-win32)
bin\mysqld.exe
                  (running mysqld.exe can't open it after a flash, then turn off the firewall and try)
test
In the environment variable of windows, add the path to the bin directory of mysql
(such as E:\develop\program\mysql \mysql-5.5.46-win32\bin)
Enter mysql -uroot on the Windows cmd command line . The
difference between the MYSQL installation version and the decompressed version The
installation version will add a service to the Windows system service and start it randomly. The
decompressed version needs to be added to windows by itself In the system service,
open the windows command line, mysqld --install MySQL
If the mysql installation directory bin directory is not added to the system's environment variable PATH, first add the following mysql bin directory path
Windows system service view: Computer->Right-click-> Management -> Services under Services and Applications ->
You can set automatic/manual/disable, start, stop for specific services

Use the mysql command line
mysql -uroot

show databases;
show tables;
use database name;
create database database name;

window The command line
mysql -uroot hit enter

mysql-front connects to the server


If the server is local, enter localhost



Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326610879&siteId=291194637