Mysql disciples (2): Mysql views, creates, and changes databases and tables bitsCN.com
1. check whether
I want to see how many databases, how many tables, and what are in the table. Then you can:
Graphic interface:
Command:
Check the number of databases: Note that s is followed
# View show databases;
# View the table USE blog; show tables;
# View the column show columns from auth_user in the table;
DESC
After mysql is uninstalled, the mysql service is still in progress and the read description fails. Error Code 2 and mysql error code
First, I used 360 software manager to uninstall mysql5.5. After I uninstalled mysql, I deleted the mysql installation directory in sequence an
Tags: mysql master and slave semi-synchronous. Main master MySQL ha cluster: MYSQL-MHAIntroduction: Principle and mechanism of master-slave replicationto implement replication, you must first open The binary log(bin-log) function on the Master side , otherwise it cannot be implemented. Because the entire replication process is actually a variety of operations tha
Tags: acquisition ase create wait over 3.4 queued Chapter Best1.MySQL Engine Overview 1.1 What is a storage engineWhen we record a video file, it can be converted to different formats such as mp4,avi,wmv, and on the computer's disk will also exist in different types of file system Windows common Ntfs,fat32, exist in the Linux operating system common EXT3,EXT4, Xfs. But the content that we present is the same, the intuitive difference is that the size
I. after detecting the database of phpBB in MySQL, I found that there was a problem with the users table. I tried to repair it using myisamchk and found that the preset repair method was not available, add more-o parameters. When using myisamchk, it is best to stop the MySQL service to avoid users accessing the database. Otherwise, at least
I. after detecting the database of phpBB in
Summary of solutions for Tableisreadonly in mysql bitsCN.com if it is a database in use, some class problems suddenly occur.
Run the following command in Linux. of course, you need to find your mysql directory.
Linux
/Usr/local/mysql/bin/mysqladmin-u root-p flush-tables
Windows
Run lush-tables in cmd.
You can also directly modify the repair table in phpmyadm
Easy to learn and use MySQL: MYSQL is easy to learn and use with a wide range of technical documents. These two factors are widely used. However, with the rapid development of MySQL, even a veteran of MySQL sometimes lamented the functionality of the software. This article will introduce you to these unknown features.
How to disable MySQL logs, delete mysql logs, and disable mysql Log DeletionBy default, log files are enabled for MySQL installed in the one-click LNMP installation package,If data operations are frequent, a large number of logs are generated,Generate a mysql-bin.0000 * simi
This article mainly introduces how to use cold backup in the real environment of MySQL backup and recovery. if you need it, refer to the previous article (cold backup of MySQL backup and recovery. However, there is a problem. The data files we store are stored on the current local disk. if this disk fails, the data we store will not be lost, so that backup data will not suffer a loss, work hard. Therefore,
Tags: style blog http color io os ar strong SPdue to the current MySQL official DMG installation package, there are only 10.9 system installation packages. such as: install MySQL in 10.10, if the DMG installation page selected "Boot Start" will be, installation error , only uncheck, only to install success! such as
Prevention and repair of MySQL table corruption 1. analysis of causes of table corruption
The following are common causes of mysql table destruction:
1. data files are damaged due to a sudden power failure on the server.
2. force shutdown without shutting down the mysql service first.
3. the mysqld process is killed when writing a table.
4. when myisamchk is used
In-depth explanation of mysql foreign key association issues
BitsCN.com continues to read the book "mysql database development" recommended by the instructor. I encountered a problem when I saw the foreign key association problem with the innodb database, in the book, you can modify the parent table and synchronize it to the foreign key of the sub-table. However, you cannot perform this experiment.
[SQL] MySQL uses mysqlbinlog for incremental backup and recovery details bitsCN.com
[SQL] MySQL uses mysqlbinlog for incremental backup and recovery
Incremental Backup process
(1) configure the My. cnf file
(Configure the my. ini file in Windows) to enable binary backup:
[SQL]
Log-bin = D:/Program Files (x86)/MySQL/mylog/juelog
Specify the file to which the b
Mysql entry-level series: the first release of MySQL database service to be updated is version 3.11.1. Currently, the 3.22 series stable edition and 3.23 series development edition are popular. The stable version number is always smaller than the development version number. After 3.23 is stable, 3.24 will be used as the development series. MySQL developers seem t
Solve the problem that mysql service cannot be started and Mysql is reinstalled in the last step. mysql step
Mysql services are often the most troublesome and often need to be reinstalled. Many people cannot unload the residual files and cannot install them. This problem occurs next time. When I reinstalled
Mysql database master-slave experience management mysql master-slave for more than two years, management of more than 200 groups of mysql master-slave, involving almost all versions of master-slave, this blog is summative, part of which is from the network, most of them are based on their own management experiences and experiences. I have sorted out and shared th
MySql official manual learning Notes 1-MySql simple Getting started bitsCN.com MySql official manual learning Notes 1-MySql simple Getting started this is some of the notes I made when learning MySql 5.1, I hope I can understand what I learned. if I could help you learn
Mysql master-slave replication technology (test) bitsCN.com
Mysql master-slave replication technology (test)
Start configuration:
Step 1: Create a replication account
Each slave uses a standard MySQL User name and password to connect to the master. The user who performs the copy operation will grantREPLICATIONSLAVE permission.
The username and password are stor
Tags: log mys mysq BSP enter WPA to view 5.7 PassDownload MySQL for Mac https://dev.mysql.com/downloads/installer/ Website download very Slow---Baidu Cloud: Link: https://pan.baidu.com/s/1c1IdwSo Password: jfv1 2. Double-click mysql-5.7.20-macos10.12-x86_64.dmg to Unzip, double-click mysql-5.7.20-macos10.12-x86_64.pkg
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.