1. Delete MySQL
1
Sudo Apt
-
Get autoremove
--
Purge MySQL
-
Server
-
5.0
2
Sudo Apt
-
Get remove MySQL
-
Server
3
Sudo Apt
-
Get autoremove MySQL
-
Server
4
Sudo Apt
-
Get remove MySQL
-
Today, when I was studying MySQL, I found that when I created a database table, the table only corresponds to one. frm file, but there were no. MYD and. myi files.
After some searching, I found that the default database storage engine used for my
MySQL startup reports a 1067 error. In the system log "service MySQL unexpectedly stopped", the MySQL Log is: "plugin 'federated 'is disabled"
I found a solution on the Internet:1. Add a line to [mysqld] In my. ini fileTmpdir = "D:/MySQL/data
We often use grep operations like Linux in database operations. The following solutions are available:
1. Run the MySQL operation in Linux and perform grep on it. However, this method cannot be used in MySQL.
$ Mysql-u me-P "use sometable;
When MySQL is installed in Windows 7, the following error occurs: "ApplicationProgramFailed to start because the parallel configuration of the application is incorrect ".
The following prompt is displayed when you view the system log:
"C: \
XP system,
Download the mysql5.6.12 decompressed version some time ago. It can be used, but it can be used remotely
Mysql-H *. *-u root-P
*. * Indicates the IP address of the server, which cannot be logged on.
Error 1045 (28000): Access denied for
===
The most common MySQL data types are varchar, decimal, date, Int, text, and timestamp.
First:
Varchar is generally used to represent a variable length string up to 255 characters. If you want to store and process alphanumeric data, this data
Author/Translator: ye Jinrong (Email:), Source: http://imysql.cnFor reprinting, please indicate the author/translator and the source, and cannot be used for commercial purposes. violators must investigate.
译者:叶金荣(Email:),来源:MySQL手册版本
1. What is an index?
Indexes are used to quickly search for records with specific values. All MySQL indexes are saved as B-trees. If no index exists, MySQL must scan all the records of the entire table from the first record until the required
Common MySQL database operations
1. Start the MySQL databaseIn the above command window, enter the command: Net start mysql5In this way, the MySQL service is started.
2. (local) log on to the MySQL databaseIn the preceding command window, run
Before trying to connect to the database, you need to briefly describe the two most common ways to connect to the database: one is to establish a DSN connection, which is troublesome and has poor program portability; I usually use ADODB to connect
An application queries an interface every time. The interface returns user information data to display different page effects. The general process is as follows:
Application app (Telecom)-> memcache-> Telecom custom interface-> master-DB
Application
1. To optimize the query, try to avoid full table scanning. First, consider creating an index on the columns involved in where and order.
2. Try to avoid null value determination on the field in the WHERE clause. Otherwise, the engine will discard
Overview (Source: click here)
Navicat for MySQL is a powerful database management and development tool designed for MySQL. It can be used on MySQL database servers of any version 3.21 or later and supports most functions of the latest MySQL
Let's look at the example below:
Create Table tbl_xxx ('F _ id' int (10) Not null auto_increment comment 'id ','F _ province 'int (10) Not null default '0' comment' province ','F _ node' varchar (60) not null default ''comment 'I business node ','F
1: Installation Process omitted
2: After integrating Apache and tomcat, You need to modify httpd. conf 1> servername localhost: 80.
2> Add index. jsp after directoryindex 3> namevirtualhost Server IP
4> loadmodule jk_module/modules? Mod_jk.so
3:
MySQL: http://www.mysql.com/
MySQL JDBC driver: http://dev.mysql.com/downloads/connector/j/5.0.html
Mysql-front: http://www.mysqlfront.de/
Hebernate: http://www.hibernate.org/
Tools related to hebernate:
Http://blog.csdn.net/hfly2005/archive/2005/05/27/382003.aspx
Users who use PHP should be familiar with MySQL. It is basically the best choice for PHP! So how can we transfer data from the Access database to MySQL. This article helps you solve this
Host 'local' is not allowed to connect to this MySQL Server typical remote permission issues. The crux of the problem is that MySQL does not have the permission to enable remote logon.
There are two major steps to enable the MySQL remote login
Timestamp Variant1, timestamp default current_timestamp on update current_timestampThis data column is refreshed when a new record is created and an existing record is modified.2, timestamp default current_timestampThis field is set to the current
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