When you apply MySQL, you will encounter situations where you cannot create a function. The following error message appears:
Copy Code code as follows:
ERROR 1418:this function has none of deterministic, NO SQL, or reads SQL DATA in
Because you need to extract a number from a field in a MySQL data table, find a way to find a MySQL function that can be used to extract numbers from a string.
The MySQL extracts the numeric functions in the string as follows:
Copy Code code
MYSQL Error 1146 tabel doen ' t exist, in general, the table does not exist, or the table name is wrong, permission issues.
Today encountered this problem, carefully check several times, confirm the correct, and in the phpMyAdmin to try Select, you
DEBIAN6 System:
First install MySQL bar:
Open terminal (root) User Login
Apt-get Purge mysql-server-5.5
After the installation is complete:
By default, MySQL only allows local logins, so you need to modify the configuration file to bind
1, the table's primary key, the foreign key must have the index;
2, the data volume of more than 300 of the table should be indexed;
3, often with other tables to connect the table, in the connection field should be indexed;
4, often appear in
If there is a data table A:
ID Name Title Addtime
If you need to insert an n-piece of data:
$time = time ();
$data = Array (
' name ' => ' name1 ', ' title ' => ' Title1 ', ' addtime ' => $time;
),
Array (
' name ' => ' name2 ', '
View the MySQL statement, more commonly used is probably show processlist command, but this for the query time is relatively long statement more meaningful, for a while can execute the statement really can't spell hand speed AH.
So you can only
First look at the basics of pagination:
Copy Code code as follows:
Mysql> explain SELECT * from message ORDER by ID DESC LIMIT 10000, 20G ***************** 1. Row ************** id:1 select_type:simple table:message type:index
If you are accustomed to using Windows database, that is, in the graphical interface to manipulate the database, then when you operate on the command MySQL will be unfamiliar, in fact, as long as you master some basic commands, and often used,
1005: Failed to create table
1006: Failed to create database
1007: Database already exists, failed to create database
1008: Database does not exist, delete database failed
1009: Unable to delete database file causes database failure to be deleted
101
In MySQL, many friends think that the field Auto_increment type ID value can not be modified, in fact, this understanding is wrong, the following describes the MySQL ID's starting value modification and setting method.The usual way to set up a
Recently, I have just entered a new company, and took over a site here, because the site's architectural design is not reasonable, resulting in the pressure of MySQL is always very large, often the locked process of time out, so wrote a section of
The day before yesterday because the work required me to take a random few records from a database of 5W records, here I am directly using the MySQL rand by function to direct, thousands of records okay, but if the tens of thousands of feeling to a
1. How to use object-oriented
$db = new mysqli (' localhost ', ' root ', ' 123456 ', ' dbname ');
If you do not specify a database when you establish a connection, select the database to use, and switch the database used
This article is mainly about how to use the shell to achieve a full amount of MySQL, incremental backup. Incremental backups are replicated mysql-bin.00000* to the specified directory at Monday-Saturday 3 o'clock in the morning, while full backups
Introduction about the mysql-5.5.28 source code installation process in several major error summary, I hope this article to help you students.System CentOS 6.3 Mini (without any compilation environment)The precompiled environment first installed the
The company's data center plans to migrate massive amounts of data, while adding a Time field (originally a datatime type, now adds a date type), a single table data volume of more than 600 million records, data is based on the time (month) to do
Mysqld_safe is recommended for use in UNIX and NetWare to start the MYSQLD server. Mysqld_safe adds some security features, such as restarting the server when an error occurs and writing Run-time information to the error log file. The specific
This example for you to share the Java connection MySQL database code, for your reference, the specific content as follows
Java connection MySQL database instance code package Com.abc.dao; /*dkplus specializes in collecting and compiling
A recent study on C + + connection database.
When MySQL is installed, the Include folder under its installation directory does not find Libmysql.lib.
This has been studied and found to be due to the fact that when MySQL is installed,
There is no
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