Following the steps given in Liaoche's official website http://www.liaoxuefeng.com/, there are still some problems:1. When installing MySQL, I was prompted not to install Python3.4, My Computer installed 3.3, so directly ignored,Say it when there is
DescriptionThe article here is followed by the previous MySQL table one-to-many write. Multiple-to-many tablesCan be understood as polygamy and polygamy. Men's Watch:
Nid
Name
1
Xxx
2
yyy
Log--log-error[=file_name] Turn On error logging--log-bin[=file_name] Open Binary log--max_binlog_size Setting the maximum storage limit for Binlog--binlog-do-db=db_name binary logging for a database--binlog-ignore-db=db_name ignoring binary logs
Set up a database1. Click Connect-->mysql: Enter the connection name, hostname/ IP address, port, user name, password (omitted without password), then click OK, the established table is gray to indicate off state, double click to open 2. re-create
Tag: Database data binary Universal MySQL LocalFirst, unzip the tar xf-c/usr/local/Ii. creating MySQL Users and GroupsThird, it is best to do an LVM for storing database dataFourExecute the database initialization scriptCD
Reference BlogMy notebook to the MySQL import txt data, there is a table imported for nearly 4 hours, and a number of tables are related to each other, so when you do a joint query you will find that the problem is much, I was a joint query two
1. Create DATABASE AuditdbUse Auditdb2. Create table Accesslog (ID int primary key Auto_increment,connectionid int,connuser varchar (), Matchuser varchar (30), Logintime datetime)3. Ensure that all connected users have write access to this
1 DescriptionThe database commands are case-insensitive, for example " CREATE DATABASE Test "with "CREATE DATABASE Test" is equally effective. 2 connecting to a database1) Connect to MYSQL on this computer Connection database can be
I. Use of mysqladmin#mysqladmin extended-status-u root-i 2-c 2-p | grep ConnectCheck the status of MySQL with the Connect character variable, statistics every two seconds, total statistics 2 times#mysqladmin extended-status-u root-r-I 2-p | grep
MySQL Lock wait analysis "1" in the lock waiting analysis is step by step, although the final analysis came out, but the time is relatively long; after clearing the relationships between the tables, get the following SQL statement for later
When querying a GROUP BY statement com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:Expression #2 of SELECT list is not in GROUP by Clause and contains nonaggregated column ' Col_user_6.a.start_time ' which is not functionally dependent on
Example 1:Using this query, you get the value of Ifavoriteid,ifavusertype, Cuser,iarticleid,dfavoritetime five fields:SELECT Ifavoriteid,case where Ifavusertype = 0 Then ' news manager 'When ifavusertype = 1 Then ' merchant 'When ifavusertype = 2
MySQL logs are turned on and viewed.Locate the My.ini file under the MySQL root directory, open the insert belowLog-bin=mysql-binbinlog_format=mixedThen restart MySQL.Log in to MySQL on the DOS side.Mysql> show varables like "log_%";View the log on
1. To optimize the query, avoid full-table scanning as far as possible, and first consider establishing an index on the columns involved in the Where and order by. 2. You should try to avoid null values in the WHERE clause, otherwise it will cause
Linux installation mysql--source installation1. Assume that there are already mysql-5.5.10.tar.gz and cmake-2.8.4.tar.gz two source files(1) Install CMake First (mysql5.5 is compiled by CMake later)[[email protected] rhel5 Local] [[email protected]
To solve the 1862 (phpmyadmin)/1820 (mySQL) Error in mysql, 1862 phpmyadmin
Problems Found
I have been running well before, And suddenly mysql cannot work. An error is reported after the request command:ERROR 1820 (HY000): You must set password
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.