This document describes how to install MySQL5.5.19 in Windows. it is helpful for beginners.
Download the mysql-5.5.19-win32.msi installation file, double-click Run, the following page appears.
Start the mysql installation wizard and press "Next"
After MySQL is installed, only the following hosts are recognized: localhost and 127.0.0.1. After MySQL is installed, only the following hosts are recognized: localhost and 127.0.0.1, if you want to allow the IP address on your machine to log on
Use navicat to create a MySQL stored procedure Navicat
Procedure for creating a stored procedure using Navicat for MySQL:
1. create a function (select the function tag> Click create function ):
2. number, name, and type of parameters of the
MySQLFlush operation ----------------------------------------------------------------
If you want to clear some internal caches used by MySQL, you should use the FLUSH statement. To perform FLUSH, you must have the RELOAD permission.
UbuntuServer MySql database backup script code: UbuntuServerUbuntu
Ming:
Here I want to back up the pw85 database under the/var/lib/MySql database directory to the compressed file format of/home/snapshot (2012_04_11 refers to the date on which the
All myslq tables share a tablespace, causing the ibdata1 file to be too large. the database crashes bitsCN.com.
Mysql is used in linux. because the mysql price configuration is not completed at the beginning of the database creation, all tables use
Mysql Performance Optimization
1. optimize table
2. analyze table
3. try to declare the column as NOT NULL
4. Mysql only uses the prefix index to avoid creating an index on an existing index prefix.For example, do not create an index (a) on index
We have recently used tomcat and MySQL to build a Java Web Server and deploy the game server logic on it.
Shortly after the game was launched, we found a large number of garbled characters in the database. This is a very serious problem and must be
The connection between php and localhost is divided into two types: IP and unix sock, that is, localhost, it is better to use localhost, which is also convenient for later Management. if it is used to connect to a non-local database, it will pass
NOTE _ 2 wildcards in MySQL: (trailing spaces may interfere with wildcard matching)
% Match any character _ match any single character
Regular expression: REGEXP
The usage is to replace the LIKE position, followed by a regular expression.
Case
In windows, killing processes in batches sometimes starts a series of processes due to viruses or other reasons, and sometimes kills the processes and removes them. Run taskkill to kill all of these processes:
C:/Users/NR> taskkill/F/im
CentOS configuration smaba and Windows shared file CentOS
Operating Environment: CentOS 6.5 64bit
What files are shared between Linux and Linux? NFS, Windows, and Windows? the file sharing function is OK. What about Windows and Linux?
This is what
Analysis of table_cache configuration parameters for MySQL Performance Optimization table_cache is a very important MySQL performance parameter. it is called table_open_cache in versions later than 5.1.3. Table_cache is mainly used to set the number
In Windows and Linux, MySQL restores database code in Linux:
1. create an empty database cddl
Mysql> create database cddl;
Query OK, 1 row affected (0.00 sec)
2. restore the database
[Root @ chicago mysqlsoftware] # cd/etc/rc. d/init.
[MySQL case] HA: GTID_MODE configuration inconsistent 1.1.1. HA: GTID_MODE configuration inconsistent
[Environment description]
Msyql5.6.14
[Error message]
In the initial state, both the Master and Slave enforce-gtid-consistency and gtid-mode
PerconaServer5.6.19-67.0 withTokuDB (GA) nowavailable
PerconaIs gglad to announce the release of Percona Server 5.6.19-67.0 on July 1, 2014. Download the latest version from the Percona web site or from the Percona Software Repositories.
Based
Tomcat connects to the mysql database Tomcat
Today, I tried to connect to the mysql database. after successful connection, I wrote something. after all, the road to growth is still long.
Welcome to xasasa
How to install multiple mysql databases under Centos5.2
1. Compile and install the first MySQL 5.1.33
cd /opt/usr/sbin/groupadd mysql/usr/sbin/useradd -g mysql mysql -s /bin/nologin -d /usr/local/mysqltar -zxvf mysql-5.1.33.tar.gzcd mysql-5.1.33
View mysql installation path in Linux
1. view the file installation path
Since there are more than one place for software installation, let's first check all the paths (addresses) for file installation ).
Mysql is used as an example. For
MySQL character set topic (character set, verification, garbled code)
1 MySQL character set overview
MySQL server supports multiple character sets. different character sets can be specified for different fields in the same server, database, or even
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