Read about mysql create new database and user, The latest news, videos, and discussion topics about mysql create new database and user from alibabacloud.com
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常用指令,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
1. Create a new userLog in to MySQL@>mysql-u root-p@> Password//create user mysql> insert into Mysql.user (Host,user,password) VALUES (' localhost ', ' JEECN ', Password (' JEECN '));Refresh System Permissions TableMysql>flush privileges;This
1. new User Login MYSQL @ mysql-uroot-p @ password create user mysqlinsertintomysql. user (Host, User, Password) values ('localhost', jeecn', password ('jeecn'); refresh the system permission table mysqlflushprivileges; then a name is created: jeecn
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
Reprinted: http: wwwcnblogscomxiaoluo501395377archive201304073003278html modified some mysql to start the j2ee development environment on Linux, centOS6CentOS for jdk, tomcat, and eclipse
I have modified some mysql commands to start the cloud
To
I. Preface:
After the database server is set up, the first thing we need to do is not to consider which MySQL-carried servers should be running on the server that supports the database.ProgramBut how to recover to the last normal state after the
If you want to do a Java EE development on Linux, first build the Java EE development environment, including the JDK, Tomcat, Eclipse installation (this in a previous essay has explained in detail the Linux learning CentOS (vii)- CentOS under the
After installing MySQL, configure the environment variables, and then
Typing MySQL
Enter MySQL
Then you can
Use MySQL;
Select * from user;
To see all the users;
Execute script file under Mysql:
Mysql > Source xxx.sql;
1.1 Two ways to increase the
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:
MySQL-server-5.1.7-0.i386.rpm To: http://dev.mysql.com/downloads/mysql/5.1.html, open this webpage and click"Linux x86 generic RPM
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.