Error 2003 (hy000): Can't connect to MySQL server on '*. *. *' (113) solution:
1. view the configuration file:
Skip-networking # comment out because it shields all TCP/IP connections
Bind-address = 127.0.0.1 # It is the same as the previous
I. How to start MySql in Ubuntu:/Etc/init. d/sudo mysqld
2. Add a userBin> mysql-u RootMysql> grant permission 1, permission 2,... Permission n on database name. Table name to user name @ user address identified by 'Connection password ';
The advantages of the free installation version are: ease of transplantation
Start mysqld-nt.exe under bind after decompression. If you want to add a service, see the following --
Rename the my-large.ini to my. ini and add the following content
1. Use the show statement to find out the current database on the server: mysql> show databases;
2. Create a database mysqldata: mysql> Create Database mysqldata;
3. Go to the table: mysql> Use *** (your table name );
4. create a table: mysql>
Statement:This unzipped version is a 100 multi-M mysql-5.5.xx-Win32. ZIP file, not dozens of MB,Mysql-5.5.xx.zipFile, hereby declare... ^ V ^
I take mysql-5.5.10-win32.zip as an example, the decompression path is c: \ mysql-5.5.10-win32.
OK, go
In Windows:
Open the command line window and stop the MySQL service:Net stop MySQLStart MySQL, usually to the installation path of MySQL, find the mysqld-nt.exe (or mysqld.exe)Run: mysqld-nt (or mysqld.exe) -- skip-grant-tables. The current window
Available in OracleConnectClause can easily implement recursive queries, which can be used in MSSQLServer and DB2WithMySQL does not support the connect by clause or the with clause. Therefore, you must use other methods to implement recursive
One day, a data table in a database is being deleted, and a sudden power failure occurs. After the server restarts, it continues to run the DELETE command. The following error occurs:
Mysql> Delete from Table1 where ymd Error 126 (hy000): Incorrect
From http://blog.csdn.net/crazylaa/archive/2010/03/11/5368819.aspx
Mysql5.1.xA new feature is introduced in the version.EventAs the name implies, it is an event and scheduled task mechanism that executes specific tasks within a specified time unit.
From http:// I .19830102.com/archives/164
Python: 2.6: Http://www.python.org/download/releases/2.6.1/Download and install the MSI file
Mysqldb version: MySQL-python-1.2.2.win32-py2.6.exe:
The following articles mainly describe the role of delimiter In the MySQL database? We generally think that this command has little to do with the stored procedure. Is it true? The following articles will give you relevant knowledge and I hope you
Command for backing up MySQL database
Mysqldump-hhostname-uusername-ppassword databasename> backupfile. SQLBack up the MySQL database in the format of a table with deletionBacking up a MySQL database is in the format of a table with deletion, so
1) as long as it is gb2312, GBK, utf8, and other character sets that support multi-byte encoding, you can store Chinese characters. Of course, the number of Chinese Characters in gb2312 is much smaller than that in GBK, while in gb2312, GBK and so
One afternoon, almost all of them were spent on this xxoo!
Vs2008, MVC 1.0, nhib1_2.2, MySQL XX, configure web. config according to the official NH example
NHibernate.Driver.MySqlDataDriver Database=test;Data
The master-slave configuration of the MySQL server is a very simple task. Instead of starting from scratch, it is always on the MySQL server that has been installed by others. This will involve the mysql version, startup File and other issues.
But
-- Suitable for intra-site searches with over million data records and civilian-level solutions
Environment: Linux mysql4/5 (versions above 5 can be directly compiled into MySql in the form of plug-ins)
Friends who use MySQL must have the experience
Multi-version concurrency control multi-version Concurrency Control
Most MySQL transaction storage engines, such as InnoDB, Falcon, and pbxt, do not use a simpleSingle Row lock mechanism.
In fact, they have always been used with another mechanism
[Author: Zhang banquet this article version: V1.0 final modification: 2008.11.19 reprint please indicate the original article link: http://blog.s135.com/post/#/]
In production applications, a data server with the "nginx + PHP + MySQL" interface
1. You forget the root user password of your system. I forgot the root user solution in Linux to solve this problem first.) log on to the system and enter the terminal.
[Root @ localhost/] #
Ii. Killing the MySQL process
Method 1: [root @ localhost/]
Use execl to convert TimestampThe formula is:Code:
=(xxxxxxxxxx+8*3600)/86400+70*365+19
Use a MySQL statement to explain the timestampSyntax example:
Code:
SELECT FROM_UNIXTIME(1234567890, '%Y-%m-%d %H:%i:%S')
Appendix:In MySQL, the storage type
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