Installation and configuration of green MySQL
I downloaded MySQL 5.1.
:
Http://dev.mysql.com/downloads/mysql/
Download the free installation package (mysql-noinstall-5.1.45-win32.zip)
Decompress the compressed file to E: \ mysql-5.1.39-win32
I downloaded MySQL 5.1.
:
Http://dev.mysql.com/downloads/mysql/
Download the free installation package (mysql-noinstall-5.1.45-win32.zip)
Decompress the compressed file to E: \ mysql-5.1.39-win32
1. Add E: \ mysql-5.1.39-win32 \ bin in the
ArticleDirectory
Exporting data as CSV file directly using simple MySQL Query
Importing data from CSV file directly using simple MySQL Query
Similar posts:
Export/import CSV files with MySQL-no external tool required
Loading
The installation diagram of MySQL is described in detail in the executable file!
Open the mysqlinstallation file mysql-5.0.27-win32.zip, decompress the file, and run “setup.exe. The following interface is displayed:
Start the MySQL Installation
PHP database programming-database operations using MySQL extension libraries:
PHP // Use the MySQL extension library to operate mysql. Step // 1. Obtain the connection $ Conn = Mysql_connect ("Localhost", "root", "root" ); If (! $ Conn ){
MySQL used by myself uses the MyISAM database and does not involve InnoDB. Therefore, we plan not to load the InnoDB Engine directly.
Add skip-InnoDB to my. ini (/etc/My. CnF in Linux.
After I set it like this, there is no problem in Linux. I
The MySQL replication operation can copy data from one MySQL Server (master) to one or more other MySQL servers (slave ). Imagine,If the slave server is no longer limited to a MySQL server, but any other database server or platform, and the
These two statements are for implementation: insert if there is no record, and update if there is a record. Note that these two statements are specific to MySQL and are not standard SQL statements. Its implementation is similar to the following:
Use commands to create a MySQL databaseHttp://www.sudu.cn/service/detail.php? Id = 11443 # 6d
1. Connect to MySQL
Format: mysql-H host address-u user name-P User Password
1. Connect to MySQL on the local machine.
First, open the DOS window,
MySQL garbled again(MySQL, problem, MySQL database, garbled code)
I used to post on my blogArticleSummary of the data and Chinese garbled characters on the webpage [Talking About Garbled text and how to solve the problem of Mysql Data Chinese
[Color = darkred] [/color] MySQL Command Line
1. Start and Stop the MySQL ServiceNet stop MySQLNet start MySQL
2. log on to MySQLSyntax: mysql-u user name-P User PasswordEnter the mysql-uroot-p command, press enter and prompt you to enter the
I have not studied PHP and MySQL in depth. Here are some of my personal experiences. I may not be very clear about it, but it is really useful. my discuz version is UTF-8, but open phpMyAdmin display is Finishing Column: gbk_chinese_ci, and view
It is more practical to sort out some MySQL Chinese garbled solutions.
When MySQL is used, Chinese characters are inserted, and garbled characters are often inserted. Are all Chinese characters used? .
Most of the reasons for this are Character
Many times of changing the MySQL host provider, MySQL data may be garbled, because the website development history has gone through multiple MySQL versions, and I did it a little bit when I was learning PHP, because the underlying things are messy,
In the file my. ini or my. CNF, addDefault-character-set = GBK########################[Client]Default-character-set = GBK[Mysqld]Default-character-set = GBK#########################Save the modification and log on to the client.# Mysql-u root-PEnter>
Collapsed, unloaded, loaded, loaded, unloaded, found N, multiple methods, or failed to start MySQL service. Today, I finally found a solution!
When re-installing, clear the content in the default datadir. These files are generally placed in:
C: \
1. Use indexes to traverse tables faster.
The index created by default is a non-clustered index, but sometimes it is not optimal. In a non-clustered index, data is physically stored on the data page randomly. Reasonable index design should be
MySQL Data Type introduction 0 rating/679 posted on:
1. MySQLData Type
Mysql has the following data types:
Numeric type
A value is a value such as 32 or 153.4. Mysql supports scientific notation, which is expressed by an integer or floating
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