Li Wu:Heng Learn to think together, honouring teachers save Thanksgiving. Leaf See root three return to one, rivers the same oneness.Meekness Conscience Lord, willing to do without regrets to the most bitter. Reading exercises to keep the body and
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
Type
Mysql
Sql server
http
Tomcat
Oracle
Port
320W
1433
80
8080
1521
|----- dos command to start the MySQL serviceStop MySQL: net stop MySQLStart MySQL: net start MySQL|----
Error message:InnoDB: Unable to lock./ibdata1, error: 11Solution:PS-Ef | grepMysqld, killing dead processes
Then restart MySQL
---------------------------------------------------------------------------------
Error message:Error while loading
The functionality provided through MySQL
Export
Command:
Mysqldump-u user name-P database > database. sql
Example:
The code is as follows
Copy Code
Mysqldump-u root-p db1 > Db1.sql (Backup of database db1 to Db1.sql)
Basic command:1 command to add '; ' Indicates the end of the command -2mysql> statusCheck current login information, MySQL version information -3Mysql> Helpfrequently used help commands -4Mysql> select version ();MySQL version information -5Mysql>
Getting Started with databasesBasic KnowledgeDatabase OverviewA database is the center of information that stores data and is an organized collection of data. Database is the simplest to understand the warehouse where the data is storedA database
CMD command does not answer ";"
MySQL command followed by ";"
1. Log in to MySQL as an administrator
Mysql-u root–p
2. Select MySQL Database
Use MySQL;
3. Create a user and set a password
Create user ' test ' @ ' localhost
1. Open the MySQL profile My.ini, add the skip-grant-tables to the end of the file, or add it to the bottom of [mysqld] (directly added to the My.ini file at the end of the pro test can, but in [mysqld] I have not tried, Now this file as long as
Phenomenon: After modifying the root password, quit MySQL, restart the MySQL service, and then want to use the new password to log on to MySQL, found not to go up. One, the reason to encounter this problem is that when the user changes the password
SQL model (SQL mode):Restrict user behavior by defining certain rules, and define the corresponding processing mechanism.Common models:AnsiRelaxed mode, check the inserted data, if not conform to the definition type or length, the data type
Source Address: http://yanshuaijun.2010.blog.163.com/blog/static/362411622011102443056225/ topic: MySQL Error nr.1045 workaround2011-11-24 16:30:56 | Category: mysql| report | Font Size Subscribe1. Go to cmd manually stop MySQL service: net
Reprint: http://blog.longwin.com.tw/2008/07/mysql_set_master_slave_replication_fase_online_2008/Already online MySQL Master, hope to be in the shortest possible time to do mysqldump, and then immediately let him restore on-line, so the main is to
MySQL Incremental backup and recovery
Incremental backup: Only those files that were modified after the last full or incremental backup are backed up.
Advantages: No duplication of data, backup volume is small, time is short.
We are now beginning to learn MySQL, the following is a brief introduction to MySQL common commands
Copyright Skylinelin All, reproduced please indicate the source.
First log in to the MySQL database, "\h" look at the Help
Redis (Remote Dictionary Server) is an open-source (BSD-licensed), in-memory data structure storage system that can be used as a database, cache, and message middleware. It supports storing more value types, including string (string), list (linked
Oracle access MySql via unixODBC by DBLINK: I asked how to connect oracle to remote mysql. I used hsodbc before, but I cannot display the fields with different attributes. oracle does not seem to have a transparent gateway for mysql. Is there any
MySQL 5.7.21 installation and password graphic configuration tutorial, MySQL 5.7.21 graphic
The installation and password setting tutorial for MySQL5.7.21 is as follows:
Official Reference Manual
1. Unzip the MySQL 5.7.20 installation package, such
New mysql + apache + phpLinux installation guide. I just saw someone sticking to Windows to install a new server on the company's website today. It took me one morning to install mysql + php + apache. The old version of the new version is still
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.