PhpMyAdmin can be enabled at the beginning, but I changed the root password in the permission, and then opened phpMyAdmin, and it will show: "phpMyAdmin tried to connect to the MySQL server, but the server refused to connect. Check the host, user
Record it by yourself to make a better impression. The English documents are from the official MySQL documents. The Chinese is translated by yourself according to your understanding.
Select... lock in share mode sets a Shared Mode Lock on the
To install MySQL, run the following command at a terminal prompt:
Sudo apt-Get install mysql-Server
Sudo apt-Get install mysql-Client
Sudo apt-Get install php5-mysql // The installation php5-mysql is to connect PHP to MySQL
Once the installation
Solution: grant all privileges on *. * to Joe @ localhost identified'1 ';
Flush privileges;
Log in with Joe 1
Appendix:
Mysql>Grant permission 1, permission 2 ,... Permission n onDatabaseName. Table name to user name @ user addressIdentified
For example, to create a user, blog, category, and comment table
User table: stores the user name and password
User:
ID
Username
Password
Blog: stores the title, content, and creation time of a blog.
Blog:
ID
Title article
Connect to MySQL with VB
First install the latest ODBC connecter/MySQL on the local machine
You can use it without setting ODBC.
Note that the MySQL account logon is based on the host, and the MySQL account is set and then tested.
Test code:
Dim
Http://indian.blog.163.com/blog/static/108815820056403180/
In MySQL, the value range of tinyint is-128 to 127. The unsigned range is 0 to 255 (see the official MySQL5.1 reference manual
1. Concat () function1.1 The Concat function of MySQL can connect one or more strings, suchMysql> select Concat ('10 ');+ -------------- +| Concat ('10') |+ -------------- +| 10 |+ -------------- +1 row in SET (0.00 Sec)
MySQL> Select Concat ('11', '
MySQL configuration in Debian
1. Modify the MySQL password
Because MySQL does not have a password by default, you must modify your password for security reasons!Let's see if your MySQL has no password:
$ Mysqladmin version
If you can
Installation environment:
OS: Windows XP
RUBY: ruby1.9.1
MySQL: mysql5.1.46 (username/password: Root/root port: 3306)
Ruby-MySQL DRIVER: mysql-2.8.1-x86-mswin32.gem
(Note: drivers of version 2.7.3 will appear during testing.Require "MySQL", the
Sun has released the latest version of MySQL for the first time since the acquisition of MySQL in May. The latest version of MySQL 5.1 will be released this quarter, but sun does not disclose the specific day. But they released an RC version that is
1. Try to retrieve the desired field. Do not select * from table like this
The more data you get, the more data you transmit over the network, which is a waste of bandwidth and network buffer.
Especially in order, the performance is even worse .,
1. select the most suitable field attributeMySQL can support access to large data volumes, but generally, the smaller the table in the database, the faster the query will be executed on it. Therefore, when creating a table, we can set the field
Chinese display problems have always been a problem that has plagued us. If you don't believe it, you can search for them on Google. Such questions and answers can be said to be overwhelming. Many websites even propose them as topics for discussion,
Today, when I create a table in MySQL, I first create it in MySQL query browser, but I always report an error. Later I thought it was just a client software that is easy to operate. I guess it won't work. Later, I created a table under the MySQL
Seven MySQL index types are introduced. Index fields in database tables can greatly improve the query speed. By making good use of these indexes, you canMySQL query and operation are more efficient.Index is the key to quick search. The establishment
According to the online cursor control example, I found that after MySQL's cursor is run, I still run a batch, and I found that the repeated numeric queries are displayed, at the dongdongsdo0310 proposal, we used the loop, and when we found that the
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