I. Database Management: 1. view the database mysql> show databases; 2. create a database mysql> create database name; 3. use mysql> use Database Name; 4. delete database mysql> drop database name;
2. Data Table Management: 1. view the database table
Mysql database is a multi-user, multi-threaded relational database and a Client/Server structure application. It is free for individual and commercial users.Mysql Databases have the following advantages:
1. The number of users accessing the database
Account maintenance and restoration of the MySQL System
* 1. Case Description
In programming and development, it is critical to involve the database permission maintenance module. Once a problem occurs, it is difficult to troubleshoot and solve the
First, start and stop the MySQL Service
Net stop MySQL
Net start MySQL
Second, log on to MySQL
Syntax: mysql-u user name-P User Password
Enter the mysql-uroot-p command, press enter and prompt you to enter the password, enter 12345, and then press
1.1 install mysql-5.1.53
Step 1: Open the terminal and enter the command mkdir-P/usr/local/eversec; create the eversec folder in the/usr/local/directory.
Step 2: Enter the command CD/root/perseus2.0/dB to enter the/root/perseus2.0/DB directory.
Step
SQL--MYSQL query statement Daquan, sqlmysql statement
1: Use the SHOW statement to find out the current database on the server:
Mysql> show databases;
2. Create a database named MYSQLDATA
Mysql> create database mysqldata;
3: select the database you
Mysql Command Line Operation statements, mysql command line statements
First, start and stop the mysql Service
Net stop mysqlNet start mysql
Second, log on to mysql
Syntax: mysql-u user name-p User Password
Enter the mysql-uroot-p command, press
001 view mysql version -- versionmysqlselectversion (); mysqlstatus; 002 create a MySQL user and authorize insertintomysql. user (Host, User, Password) values (localhost, username, password (yourpassword); GRANTALLPRIVILEGESON *. * TOusername @
Mysql5.1 green version installation tutorial and mysql-related commands (resolving mysqld-nt failure) bitsCN.com
Mysql5.1 green version installation tutorial and mysql-related commands (resolving mysqld-nt failure)
But most of the tutorials are
MYSQL database basic commands Mysql database common commands:
Start Mysql database
C:> cd Mysql5.0 bin
C: Mysql5.0 bin> mysqld-install Mysql service
C: Mysql5.0 bin> net start mysql start Mysql service
The requested service has been
This article mainly introduces the basic usage and speed-up optimization methods of the altertable command in MySQL, including the use of ALTERCOLUMN. For more information, see
I. Basic usage
1. add columns
alter table tbl_name add col_name
Mysql database is a multi-user, multi-threaded relational database and an application in the client server structure. It is free for individual and commercial users. mysql database has the following advantages: 1. the number of users accessing the
MySql common commands summary 1: use the SHOW statement to find out the current database on the server:
Mysql> show databases;
2. create a database named MYSQLDATA
Mysql> create database mysqldata;
3: Select the database you created
Mysql> use
1. Use the show statement to find out the current database on the server: mysql> show databases;
2. Create a database mysqldata: mysql> Create Database mysqldata;
3. Go to the table: mysql> Use *** (your table name );
4. create a table: mysql>
MySQL cmd, mysqlcmd
1,Use the SHOW statement to find out which database exists on the server
Mysql> show databases;
2,Create a database named MYSQLDATA
Mysql> create database mysqldata;
3,Select the database you created
Mysql> use mysqldata; (when
The following is a summary of common MySQL commands. This article is a good reference for beginners in MySQL databases. The following is a description of the specific content, I hope this will help you in your future studies.
Show databases;
It may be necessary to open up your own database to others in the course of developing a project, but in order to be safe, it is not possible to open other databases in the server. You can create a new user to open specific database permissions to
MySQL MySQL Primer learning (iii)
--Study Chapter
Once you've learned some of the most basic operational commands, let's learn how to create a database and database table.
1. Use the show statement to find out what databases are currently on the
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.