MySQL: [ OK ]
Open remote access to MySQL
Modify Database Configuration:
Authorize the root user to remotely connect. Replace "password" with the real password of the root user:
grant all privileges on *.* to root@"%" identified by "password" with grant option;flush privileges;
The second line of command to make the settings take effect, you can connect immediately.
PS: In Ubuntu, You need:
vi
1, view the MySQL version
Method one: status;Method Two: Select version ();
2, MySQL start, stop, restart common commands
A, starting mode1. Start with service:[root@localhost/]# Service mysqld Start (version 5.0 is mysqld)[root@szxdb etc]# service MySQL start (5.5.7 version is
Label:1. View MySQL versionMethod one: status;Method Two: Select version ();2. mysql start, stop, restart common commandsA, starting mode1. Start with service:[[Email protected]/]# Service mysqld Start (5.0 version is mysqld)[[Email protected] etc]# service MySQL start (5.5.7 version is
Label:Windows Mysql Server restart, log-bin path configurationCategory: MySQL database 2014-03-16 14:49 1313 People read comments (0) favorite reports Mysqlmysql servermysql Restart the Windows command restart mysqlmysql log configurationCMD, run the following command:NE
How to start/stop/restart MySQLFirst, the starting mode1. Start with service: Service mysqld start2. Start with mysqld script:/etc/inint.d/mysqld start3. Use Safe_mysqld to start:safe_mysqldSecond, stop1. Start with service: Service mysqld stop2. Start with mysqld script:/etc/inint.d/mysqld stop3, mysqladmin shutdownThird, restart1. Start with service: Service mysqld restart2. Start with mysqld script:/etc/inint.d/mysqld restartSee if
A background
The host of an entrepreneurial friend's mainframe because the disk array damage machine crash, restart the MySQL service times the following error:
Copy Code code as follows:
innodb:reading tablespace information from the ... ibd files ...
innodb:restoring possible Half-written data pages from the Doublewrite
Innodb:buffer ...
Innodb:doing recovery:scanned up to log sequence numb
Sometimes for servers with better efficiency, you can restart Apache services on a timed basis. Make the site run faster.Add a scheduled task with the AT command. For the use of syntax can go to window-"Start"-"Run" cmd "-" execute Command "at/", so that the interface will display the syntax of the AT command. Below we explain how to get the server to start Apache and MySQL on time:1, in the C: Packing dire
Use yum in centos to install mysql and centosyum to install mysql
Speaking of databases, we mostly think of relational databases, such as mysql, oracle, and sqlserver. These database software is very convenient to install on windows. If you want to install a database on Linux, we have to recommend the
MySQL does not restart the main library for master-slave support on version 5.17.Two additional important parameters are added:Binlog-do-db=ilanni libraries that need to be copiedBinlog-ignore-db=mysql Ignoring replicated librariesAnother point is that you don't need to specify the IP address of the main libraryThe following is a brief talk about the mysql5.17 ve
Install mysql-server on CentOS (mysql Installation Guide for Linux)0: determine the system information:
[Root @ mongodt mysql] # cat/etc/issue
CentOS release 6.4 (Final) Kernel \ r on an \ m
I. yum Installation
[Op1 @ VMS06968 ~] $ Yum list
protected] liuzhen]# service MySQL startStop MySQL Service[[Email protected] liuzhen]# service MySQL stopRestart MySQL Service[[Email protected] liuzhen]# service MySQL restartThe following two commands work the same waySystemctl [Stop|start|
In the mysql5.5/5.6 version, set up synchronous replication filtering, such as setting the T2 table that ignores the test library, you need to add in the my.cnf config file:Replicate-ignore-table=test.t2The MySQL service process must be restarted to take effect.In MySQL5.7, a new command is available to support online dynamic modification without restarting the MySQL process.Example:Change REPLICATION FILTE
Label:
Under Windows:
Start-to-run->cmdStartup: net start MySQLStop: net stop MySQLNo restart, you must stop and start again!!!
Under Linux:
Start:/etc/rc.d/init.d/mysqld startStop:/etc/rc.d/init.d/mysqld stopRestart:/etc/rc.d/init.d/mysqld restartOrStart:/etc/init.d/mysqld startStop:/etc/init.d/mysqld stopRestart:/etc/init.d/mysqld restartor (usually the most used in this way)Start: Service mysqld startSTOP: Service mysqld stopRestart
password back to the MySQL startup file (otherwise, each time you start, shut down, restart MySQL to enter the password) [Email protected] 3306]# sed-i ' s/mysql_pwd=\ "\"/mysql_pwd=\ "123456\"/g "/data/3306/mysql[Email protected] 3306]# sed-i ' s/mysql_pwd=\ "\"/mysql_pwd=\ "123456\"/g "/data/3307/
Tags: mysq ons environment build file Evel span method grep minIf 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 Java Environment Build ), if you want to develop a Web project, we can certainly install a myeclipse
Inadvertently also found CentOS professional forum, remember: http://www.centospub.com
So, the beginning of the learning configuration
This environment:
CentOS System,
Mysql-server (version forgotten, because it was installed using Yum)
Process as follows (reprint, according to my installation detailed requirements, slightly modified):
When we refer to the w
/pam_mysql-0.7-0.12.rc1.el6.x86_64.rpm.html# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/pam_mysql-0.7-0.12.rc1.el6.x86_64.rpmwith RPM installed, U-parameters are not installed directly on the software, there is an old version of the auto update for the new version# RPM-UVH pam_mysql-0.7-0.12.rc1.el6.x86_64.rpmgenerally installed in/lib/security/this record, if it is x64 will be under the/lib64/serurity/2) Install MySQL requires plugin# yum Ins
1. Install MySQL in CentOS [root @ sample ~] # Yum-yinstallmysql-serverlarr; install MySQL and then install the PHP tool ld for accessing the MySQL database
1. Install MySQL in CentOS [root @ sample ~] # Yum-y install
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.