1. Database operationGo to command line: mysql-uroot-p123456View database: show databases;View Database creation statement: show create DATABASE test;Creating the database: Create DB test CharSet UTF8MB4;Select database: Use test;Delete database:
MySQL Index basics
Basic concepts:
An index is a special database structure that can be used to quickly query specific records in a database table. Indexes are an important way to improve database performance. An index is created on a
1. First verify that the server is in a secure state, that is, no one can connect to the MySQL database arbitrarily.Because the MySQL database is completely password-protected during the reset of the root password of MySQLStatus, other users can
MySQL Installation documentation (official yum install Linx version)creation time:2016-12-20Document Purposein the install mysql server application under Linux. (Note: This document installs the MySQL application using the Yum Library installation ,
Rights statement: This article for Bo Master original article, without Bo Master permission not reproduced.Blog "Java implementation MySQL database backup (i)" using I/O stream to implement the MySQL database backup, this method is more complicated,
First, the problem description1, Linux has been installed in MySQL, through the #ps-ef |grep MySQL can show that MySQL has been started, but to go to the MySQL command page, the following problems appear:1 [[email protected] ~] - P 2 - not found
First, download mysql5.7http://mirrors.sohu.com/mysql/MySQL-5.7/Linux Downloads:Input command:wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gzSecond, the establishment of users, as well as the MySQL directory1.
Master (Master) ip:192.168.1.101From (Slave) ip:192.168.1.102Master configuration1, first login to the database, create a copy accountMysql-uroot-pMysql>grant replication Slave,reload,super on *.*to [email protected] ' 192.168.1.102 ' identified by '
Using putty to operate MySQL database is not very convenient, just want to use navitcat ssh to connect to the remote MySQL server, you can dynamically modify the data operation. According to the opinions of many netizens online, landlord use the
MySQL by default to turn off Telnet permissions, the following actions allow users to log in any location: 1. Enter mysql,grant all privileges on * * to ' root ' @ '% ' of ' identified by ' with the GRANT option;identified by followed by a password
Environment:mater:centos7.1 5.5.52-mariadb 192.168.108.133slave:centos7.1 5.5.52-mariadb 192.168.108.1401. Export the primary service data and synchronize the primary and standby dataMasterExport the database information that needs to be
MySQL Add, delete, check, change Registration, Authorization#创建一个对数据库中的表有一些操作权限的用户, where operation can be replaced with all privileges, DBNAME, TableName can be replaced with *, which means all mysql> grant operation on DBNAME. TABLENAME to '
First, the database operation1. Create a database:>create DATABASE db_name; Db_name for Database name>create DATABASE IF not EXISTS db_name default character set UTF8 COLLATE utf8_general_ci; Conditions to create a database2. Delete the
Zabbix using its own template to monitor MySQL databaseYun Zhengjie Some things you don't think it's particularly difficult when you do it, but when you do it you find it so simple ~zabbix powerful I'm not here tell me
After using the VPS for a period of time, you find that the disk space is almost full. My VPS bought a 500GB disk at the time of purchase, and the provider presented a 20GB high-performance system disk. So the system has two disk space. The database
1. NetworkSince the remote Ubuntu system, then the first two networks are not in a network segment, can ping the pass?A) on Windows PC--cmd Open Command window, type: ipconfig command, view host IP.b) Ubuntu system, CTRL + ALT + F1 Open command
Select the connected database in Navicat for MySQL, select "Connection Properties" in the right-click menu, the settings save path in Advanced is Navicat for MySQL save path, the backup is also inside. 650) this.width=650; "Src=" Http://s3.51cto.com/
Solution to MySQL Service Startup failure in CentOS 7
Failed to start MySQL server today, as shown below:
[root@spark01 ~]# /etc/init.d/mysqld startStarting mysqld (via systemctl): Job for mysqld.service failed because the control process exited
Skills and optimization of SQL statements learned by mysql, and skills of mysqlsql statementsI. use regular expressions in SQL
Select name, email from user where email Regexp "@ 163 [.,] com $ ";
The use of Regexp in SQL statements has a great
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