How to configure MySQL database server on CentOS
BitsCN.com accidentally found CentOS Professional Forum, remember: http://www.centospub.com
As a result, the initial learning configuration
This environment:
CentOS system,
Mysql-server (version
MySQL常用指令,java,php程序员,数据库工程师必备。程序员小冰常用资料整理MySQL common commands (for reference)The most common display commands are:1. Display the list of databases.show databases;2. Display the data table in the library:Use MySQL;Show tables;3, display the
http://apps.hi.baidu.com/share/detail/5530778My MySQL is installed in C:\mysqlFirst, change the passwordThe first way:1. The situation where root does not have a password before changeC:\mysql\bin>mysqladmin-u root password "Your password"2. If the
My MySQL is installed in c: \ mysql
I. Change the password
Method 1:
1. the root account has no password before the change.
C: \ mysql \ bin> mysqladmin-u Root Password "your password"
2. Change the password of the root user if it is 123456.
C: \
How to configure MySQL database server on CentOS
This environment:
CentOS system,
Mysql-server (version forgot, because it was installed using yum)
The process is as follows (reprinted, according to detailed installation requirements, slightly add
Mysql's common basic command summary and default account permissions and modifications have been simply using the database to store data, and windows is also used bad. many commands cannot be remembered when used. so, change to LINUX! No longer use
Default MySQL test Database Permissions
By default, the mysql. db table contains rows that allow any user to access databases starting with "test" and "test. The value of the User field in these rows is null, indicating matching any User. This means
MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns the new user the permission bitsCN.com
MYSQL adds a new user MYSQL creates a database for the user MYSQL assigns permissions to the new user
1. create a user
// Log on to
MySQL has become one of the most widely used databases on the network, especially for Web applications. it occupies the absolute advantage of small and medium applications. All of this comes from its small and easy-to-use, secure and effective, open
There are two different ways to add users: using the GRANT statement or directly operating the MySQL authorization table. The better way is to use the GRANT statement, because they are more concise and seem to have fewer errors. The following
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.