connect to remote mysql database command line linux
connect to remote mysql database command line linux
Discover connect to remote mysql database command line linux, include the articles, news, trends, analysis and practical advice about connect to remote mysql database command line linux on alibabacloud.com
Install MySQL1. Download the MySQL Installation FileThe following two files are required to install MYSQL:MySQL-server-5.1.7-0.i386.rpm
To download the above two RPM files, locate the "server" and "client programs" items and find the items
Install and configure the Mysql database under centos, import the database, authorize a remote ip address, and centos Mysql
Uninstall the original mysql
Because mysql databases are too popular on Linux, the mainstream Linux system versions currently
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
Many users have experienced the loss of valuable data, and as a large amount of data is deposited into the MySQL database, coupled with the erroneous use of the drop Database command, system crashes or edits to the table structure can lead to
MySQL Format statement specificationHow do I log into your database?Example!If you are compiling the installation of the flowers, then you have to compile the installation of the directory to go, my is installed into the/usr/local/mysql database: Cd/
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
52, set the change root password, connect MySQL, mysql common commandFirst, set the change root passwordThe root user is the MySQL Super Admin user, the root and system root is not a user, need to partition, you can also create a normal user to
Mysql remote connection: ERROR 1130 (HY000): Host '*. *' is not allowed to connect to this MySQL server, mysqlconnect
After MySQL is installed, ERROR 1130 (HY000): host' 192 occurs when you remotely connect to the database. 168.0.1 'is not allowed
Command summary for operating MySQL in Linux Command lines
(Note: commands in the MySQL environment are followed by a semicolon as the command Terminator)
1. commands for starting MySQL in Linux:
Mysqladmin start/Ect/init. d/mysql start (the
Reprint: http://www.cnblogs.com/xiaochaohuashengmi/archive/2011/10/18/2216279.html1.linux commands to start MySQL:Mysqladmin start/ect/init.d/mysql start (front of MySQL installation path)2.linux Restart MySQL command:Mysqladmin
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.