There are 2 different ways to add users: by using the grant statement or by directly manipulating the MySQL authorization table. The better approach is to use the GRANT statement because they are more concise and seem to have fewer errors.
The
The database is almost a right-hand person for the service-side developer. Almost every server-side developer has to deal with the database. and MySQL with its open source free, small and easy to use, powerful function of the Chinese database to
The required software is as follows:
apache:http://www.apache.org
Mysql:http://www.mysql.com
php:http://www.php.net/downloads.php
Gd:http://www.boutell.com/gd/#buildgd
Zendoptimizer Http://www.zend.org/products/zend_optimizer
Gettext
The role of Master and subordinate:
1. Can be used as a backup method
2. Used to achieve the separation of read and write, ease the pressure of a database
MySQL master-slave backup principle:
MySQL's master-slave replication is at least two
Mysql
First of all, this article is purely my personal experience, applicable to my common environment and projects.Personally, the database character set uses UTF8 (the HTML page corresponds to UTF-8) so that your data can be migrated smoothly
into your c:\php directory, there is a file called Php.ini-dist, which is the configuration file for PHP.
Rename the php.ini-dist, change it to php.ini and copy it to the C:/xxxx directory.C:/xxxx is the directory in which your Windows
Error message:An error occurred executing the SQL statement:/*!40111 SET [Email protected]_sql_notes */Error message: Variable ' sql_notes ' can ' t is set to the value of ' NULL 'Check:The error message is that sql_notes cannot be set to a null
MySQL Multi-instanceMySQL multi-instance, simple to understand is on a server, the MySQL service to open a number of different ports (such as 3306, 3307,3308), running multiple service processes. These MySQL service processes use different sockets
Java Web project, the foreground page of the form data, inserted into the database, the results appear garbled "???" The problem of intermittent tossing for a day time, nonsense not to say, steps are as follows:One: Configuration in Web. XML:
1 Overview1.1 IntroductionXtrabackup is a MySQL database backup tool provided by Percona, officially described, which is the world's only one by one open source tools that enable hot provisioning of InnoDB and XTRADB databases.PXB (Percona
Early yesterday, the developer feedback said a test environment tablespace is missing for table ' Db_rsk/xxx ', the weekend just upgraded, specifically let the development back to check, said the script is definitely not the operation of drop table.
mysql command-line arguments ---These parameters differ from those parameters after mysqldump : 2 Types of parameters have different meaningsOne, MySQL command line parameters usage:mysql [OPTIONS] [Database]//Command mode-?,--Help//Display Help
1. MySQL 5.6.32 64-bit installation package downloadDownload the MySQL 5.6.32 64-bit installation package download (or wget download) using Thunderbolt in the official website http://dev.mysql.com/downloads/mysql/5.6.html#:# CD/USR/LOCAL/SRC# wget
Use the following syntax:# Mysqlslap [Options]Common parameters [Options] Detailed description:--auto-generate-sql,-a automatically generates test tables and data, indicating that the concurrency pressure is tested using the SQL script generated by
MySQL fuzzy matching query like,regexp,in Summarythe content is relatively simple, no summary. Key Wordsfuzzy query like regexp in contact Bodyis the data table information used by the sampleMySQL provides standard SQL pattern matching and an
Percona xtrabackup backup MySQL (full backup and incremental backup)Xtrabackup IntroductionPercona Xtrabackup is an open source, free MySQL database hot backup software that can back up non-blocking databases for InnoDB and XTRADB storage engines
Save it in case you encounter it laterToday when restoring the MySQL database, see the Data folder several files, not yet. sql file, not seen, summarized under. The Data folder includes: The database name folder, including the folder, *.frm,*. myi,*.
Mydumper is a lightweight third-party open source tool for MySQL database backup, backup way term logical backup. It supports multi-threading, and backups are much faster than the mysqldump of the original ecosystem and many of its outstanding
MySQL database ALTER command explanation, MySQL ALTER command explanation
MySQL is a Relational Database Management System. This so-called "Relational" can be understood as "tables". A Relational Database consists of one or more tables.
When we need
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.