Add a new user to mysql and assign the permission bitsCN.com 1. start mysql in Ubuntu:
/Etc/init. d/sudo mysqld
2. add a user
Bin> mysql-u root
Mysql> grant permission 1, permission 2,... permission n on database name. table name to user name @
MYSQL: how to use the MYSQL command line to automatically complete full-featured bitsCN.com
MYSQL: how to use the MYSQL command line auto-completion function
Run the MYSQL-I command to view the MYSQL command parameters. the -- auto-rehash
MySql infinite classification data structure -- pre-sorting traversal tree algorithm bitsCN.com
Unlimited classification is a very common application in our development, such as Forum Sections, CMS categories, and many applications.The most common
I tried to speed up the query in the last two weeks and achieved some results. I solved some problems and wrote them down for future display. Since the company does not have a dedicated DBA, I am not very familiar with mysql databases, and the
Modify mysql5.5 default encoding bitsCN.com
The default encoding of the mysql database is not UTF-8.
After installing mysql, start the service and log on to the mysql database. run the show variables command to view the default encoding of the mysql
Solve the problem of forgetting the mysql password and restoring the mysql User name and password to password bitsCN.com
Solve the problem that the mysql password is forgotten and the mysql User name and password are restored to the password
Mysql cannot be reinstalled. bitsCN.com
Problem:
After uninstalling the SDK, you can reinstall it again. I still cannot delete the items in the registry.
Solution:
I have met your experience, and I have solved it myself. you can solve it by
Mysql server master/slave data synchronization bitsCN.com
Master-slave data synchronization for Mysql servers
Example: use server A as the Master server, and use server B1 and server B2 as the Slave server (Slave ),
How can we synchronize data
MySQL LAST_INSERT_ID usage bitsCN.com
LAST_INSERT_ID usage of MySQL LAST_INSERT_ID () automatically returns the value of the first table set in the AUTO_INCREMENT column in the last INSERT or UPDATE query. Note for LAST_INSERT_ID of MySQL: first,
Application of FIND_IN_SET in mysql (to determine whether a string contains a comma) bitsCN.com
SQL code test code: CREATE TABLE 'test' ('id' int (8) NOT NULL auto_increment, 'name' varchar (255) not null, 'list' varchar (255) not null, primary key
Troubleshoot problems encountered when using MySQL
Problems encountered when using MySQL: 1 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql. sock '(2) MySQL not started Problem 2 ERROR 1045 (28000): Access
MySQL data types: bitsCN.com
MySQL has three main data types: Text, numbers, and date/time. Text: data type description CHAR (size) stores fixed-length strings (can contain letters, numbers, and special characters ). Specify the length of the string
Differences between InnoDB and MyISAM in MYSQL bitsCN.com
InnoDB and MyISAM are the two most commonly used table types in MySQL, each with its own advantages and disadvantages, depending on the specific application. The basic difference is that
Calculation of the size of indexes created by mysqlvarchar and char: bitsCN.com
Calculation of the size of an index created by mysql varchar and char
When mysql creates an index in varchar,
The number of bytes occupied is determined based on
In linux, the mysql database cannot be accessed externally.
In linux, external access to the mysql database is unavailable.
Today, the mysql database is installed in the CentOS system of the virtual machine, but it cannot be accessed externally
Mysql authorization table bitsCN.com in windows and Linux
Mysql authorization table in windows and Linux
In Windows, you do not need to create a data directory or an authorization table after installing mysql. A set of pre-initialized account
InnoDB engine independent tablespace innodb_file_per_table bitsCN.com
InnoDB engine independent tablespace innodb_file_per_table
If you have used MySQL, the MyISAM table engine is the most frequently used at the beginning. the database of this
A perfect solution for too many MySQLsleep connections: bitsCN.com
The perfect solution for MySQL sleep connection too many
If there are too many sleep connections, what will happen to the mysql server?
It seriously consumes mysql server resources
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service