The MySQL installation starts with two methods as follows:
Method One (simple version):
1.cmd access to MySQL installed Bin directory: Mysqld.exe–install
2.net Start MySQL service startup (or select Computer-> (right) to manage-> service and
Use the yum command in Centos to deploy the lamp environment. by default, the IP security policy is enabled for Centos, that is, port 80 also prohibits external access, so disable iptables first. serviceiptablesstop or open
Mysql enables remote access to mysql-uroot-p and enters the password. Execute the following statement grantallprivilegeson *. * to 'user' @ '%' identifiedby 'Password' withgrantoption; user indicates the user name, mysql defaults to root, and
Access can only use this same life-saving feature in windows, which makes me feel terrible and hard to switch access to mysql. However, I have found many articles on the internet and have not directly converted it. I heard that odbc can be used for
Summary
As a small relational database, MySQL has won the favor of a large number of small and medium-sized enterprises and individual users with the features of low price, powerful function, decent speed and open source. But in. NET access to the
Setting up a MySQL configuration file
/etc/mysql/my.cnfFind Bind-address =127.0.0.1 to comment it out;//function is to make it no longer allowed only local access;
Restart Mysql:/etc/init.d/mysql restart;
Access to MySQL Database
Mysql-u
MySQL command line Import Database:
1, to move the imported. sql file to the bin file, this is a convenient path2, the 1th step with the above export3, enter mysql:mysql-u user name-PAs I entered the command line: Mysql-u root-p (Enter the same
deep analysis of backup and restore of MySQL database under Linux1. Backup[Root@localhost ~]# cd/var/lib/mysql (access to MySQL library directory, adjust directory according to your MySQL installation situation)[Root@localhost mysql]# mysqldump-u
If you are not only working in a large group, you will have access to MySQL, although it does not support transaction processing, stored procedures, but it provides the functionality will be able to meet most of your needs, in addition, concise
First step-install MySQL
Download this server, MySQL GUI tool, and MySQL ODBC driver to http://dev.mysql.com/downloads/. The servers you can choose from are: 5.0, 5.1 or 6.0. Then install them.
Considerations during the installation:
Your
MySQL Optimization problem locationFirst pull down, a long time did not come to CSDN blog, recently learning Yan 18 MySQL optimization, and the teacher said up to the top of the air, today just have time to summarize this period of learning
Symptom:
When the program connects to mysql, mysql error. log prompts:
[Warning] IP address '10. 0.0.220 'cocould not be resolved: Name or service not known
Cause:
The Mysql database server does not have/etc/hosts configured or DNS services. As a
Use the yum command in Centos to deploy the lamp environment. by default, the IP security policy is enabled for Centos, that is, port 80 also prohibits external access, so disable iptables first. service iptables stop or open iptables-I RH-Firewall-1
Mysql-explanation of host name and IP address resolution-[Warning] IPaddressxxxcouldnotberesolved: Nameorservicenotknown bitsCN.com
Symptom:
When the program connects to mysql, mysql error. log prompts:
[Warning] IP address '10. 0.0.220 'cocould not
In-depth analysis: Find the advantages of MySQL [group chart] Step 1-install MySQL
Download this Server, MySQL GUI tool, and MySQL ODBC driver from http://dev.mysql.com/downloads. You can select 5.0, 5.1, or 6.0 servers. Then install
Step 1-install MySQL
Download this server, MySQL GUI tool, and MySQL ODBC driver from http://dev.mysql.com/downloads. You can select 5.0, 5.1, or 6.0 servers. Then install them.
Precautions during installation:
Your Firewall should be set to allow
MySQL remote access We see most of the Internet is directly to the MySQL database authorization, but some friends found that the tutorial is still unable to connect to MySQL, the following small series for you to introduce a Linux under the MySQL
1.mysql Local data is saved to the server
Use MySQL backup to restore the instructions.
Reference: MySQL backup and restore
Summary:
MySQL backups and restores are done using the mysqldump, MySQL, and source commands.backup and restore of MySQL
first step-install MySQL
Download this server, MySQL GUI tool, and MySQL ODBC driver to http://dev.mysql.com/downloads/. The servers you can choose from are: 5.0, 5.1 or 6.0. Then install them.
Considerations during the installation:
Your firewall
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.