Recently do a project, need to use CentOS to do data server, with MySQL database, you need to install MySQL database, did not contact with CentOS, so what do not understand, from the internet also looked up a lot of information, are not the best way.
1. MySQL uses the command line to start the Times wrong "system error 5 occurred", as follows:Cause: The CMD program is not running as an administratorSolution: Locate the command Prompt in the Start menu, right-click to select Run as Administrator2,
01_1 MySQL database start and stop
With start cmd;
Enter the net stop MySQL service to stop MySQL;
Enter the net start MySQL service;
Enter Mysql-u root–p carriage return and enter the password into the MySQL operating system
Method One:1. Enter or in the DOS window net stop mysql5 net stop mysql 2, open a DOS window, this need to switch to the MySQL bin directory. In the bin directory, typically create a batch 1.bat, the content is Cmd.exe run a moment to switch to the
MySQL Database installation 1 yum/rpm mode installationNote: The yum/rpm way to install MySQL is suitable for all MySQL software PRODUCT families.(1) RPM package installation MySQLWe have to install the Mysql-server and mysql.client packages, the
MySQL Multi-instanceOverview: Running multiple database services on a single physical hostFunction: Save operation and maintenance cost, improve hardware utilizationConfiguration Step DescriptionWe take mysql-5.7.20 as an example--Install packages
connect to MySQL on this computer. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to lose the password. Note that the user name can have a space or no space, but
1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to
1. Download. Mysqlhttp://dev.mysql.com/downloads/mysql/Download Windows Zip package, unzip, add path path bin, System environment variable->path->d:\mysql-5.7.19-winx64\bin modify configuration file: D:\mysql-5.7.19-winx64\ My-default.ini (if you do
1.
https://www.mysql.com/downloads/
Select Community Server
Click Dowload
Select version, currently selected version 5.6
Click to download mysql-5.6.38-linux-glibc2.12-i686.tar.gz
Select No thanks
To import *.sql scripts directly in MySQL Qurey Brower, is the command to execute SQL files in MySQL without executing multiple SQL commands at once:Mysql> source D:/myprogram/database/db.sql;Also attached to MySQL common commands:A) connect to
MySQL password is correct but cannot log on locallyThe error is as follows:ERROR 1045 (28000): Access denied for user ' root ' @ ' localhost ' (using Password:yes)The test found that the user table in the MySQL library was missing a data entry with
0. Start and stop of MySQL servicenet stop MySQLnet start MySQL1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then
MySQL commands the user to connect to the database.MySQL command format: mysql-h host address-u user name-P user Password1) Connect to MySQL on this computerFirst open the DOS window, then enter the directory Mysql\bin, and then type the command
1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to
-----------------------------------------------------★ Software tools: (download note download the corresponding version, different version of the installation details may vary!!) )1>httpd-2.4.18-win64-vc14.zip:http://www.apachelounge.com/download/2>
1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to
1, Connection MySQL format: mysql-h host address-u user name-P user Password1. Connect to MySQL on this machine. First open the DOS window, then enter the directory Mysql\bin, and then type the command Mysql-u root-p, enter after the prompt you to
http://blog.csdn.net/bbirdsky/article/details/8134528#When you log in to the MySQL database: Error1045 errors (such as), it indicates that you entered the user name or password error is denied access, the simplest solution is to uninstall and reload
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.