The article introduced two kinds of database record code, one is our PHP write common database backup class, the other is for Linux friends to provide an automatic timing backup MySQL database code, the need for students can refer to.
Save the
MySQL backup script and mysql script. MySQL backup script, mysql script mysqlbackup. php :? Php backup mysqlset_time_limit (0); date_default_timezone_set (PRC); configuration $ configsarray (host1array (localh MySQL backup script, mysql
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
MySQL backup script and mysql script
Mysqlbackup. php:
array ('localhost', 'root ', 'root', array (), // empty to back up all databases; otherwise, back up these databases 'd:/xampp/mysql/bin/mysqldump ', // backup tool dirname (_ FILE __).
1. Download the MySQL Installation FileThe following two files are required to install MYSQL:MySQL-server-4.0.23-0.i386.rpmMySQL-client-4.0.23-0.i386.rpmTo: http://www.mysql.com/downloads/mysql-4.0.html, open this webpage and pull down the webpage
One, MySQL installationInstall MySQL under CentOS Please open: http://www.centoscn.com/CentosServer/sql/2013/0817/1285.htmlIi. several important directories of MySQLMySQL installation is not as if SQL Server is installed by default in a directory,
MySQL database administrator common command manual bitsCN.com
1. mysql remote connection commands can be used to remotely import and export data
mysqldump --default-character-set=gb2312 -h255.255.000.00 -uroot -pxxxxxx
Detailed description of Mysql commands (recommended) and mysql commands
This section describes commonly used MySQL commands, including connecting to the database, changing the password, managing users, operating databases, operating data tables, and
Install mysql in centos5.8
1. Install mysql yum Source
Download the rpminstallation package of mysql's latest yumsource from http://dev.mysql.com/downloads/repo/yum/
wget http://repo.mysql.com//mysql57-community-release-el6-9.noarch.rpm
Use yum
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.