Procedure for using navicat to remotely access MySQL
1. Modify remote access permissions
// Enter the MySQL server or use other tools
XXXX @ Ubuntu:/$ mysql-H localhost-u root-P xxxx
// Grant data access permissions to any host
Mysql> grant
Transferred from: Http://koda.iteye.com/blog/788862http://koda.iteye.com/blog/682547
Use MySQL to forward read/write requests to the Master/Slave server.
1. Install MySQL proxy The binary version of MySQL proxy is very convenient and can
MySQL memory table usage
Memory tables use Hash hash indexes to store data in the memory. Therefore, it is extremely fast and suitable for caching Small and Medium databases. However, the usage is limited. The following are some of the feelings
Install, uninstall MySQL service install MySQL service create and edit a BAT file, execute it (E: \ mysql \ bin \ mysqld-nt.exe is the installation directory, fill in according to the actual situation) @ echo off E: \ mysql \ bin \
Introduction: This is a detailed page for installing MySQL In ubuntu. It introduces the knowledge, skills, and experience related to installing MySql in PHP, MySQL, PHP, Apache, and ubuntu, and some PHP source code.
Class = 'pingjiaf' frameborder =
From http://www.devshed.com/c/a/MySQL/Error-Handling-Examples/
Error handler examples
Here are some examples of handler declarations:
If any error condition arises (other than a not found), continue execution after setting l_error = 1:
Declare
Install Apache 2.2.4
1. Open my computer, go to drive D, create a folder P8-Server under it, and then create a local folder under it.2. Go to its official site to download and execute the apache_2.2.4-win32-x86-no_ssl.msi.3. Press the next button
The following
Article It mainly describes the MySQL Configuration Parameter my. INI/My. for detailed analysis of CnF, we mainly configure the MySQL parameter my. INI/My. the actual operation steps of CnF are described as follows.
1. Get the
This article lists the specific solutions from eight aspects. If you have any mistakes, I hope you can correct them. If you have better ideas, please add them!
1. select the most suitable field attribute
MySQL can support access to large data
In mysql: UNIX_TIMESTAMP (), UNIX_TIMESTAMP (date)If no parameter is called, a Unix timestamp ('2017-01-01 00:00:00 'seconds after GMT) is returned as an unsigned integer. If you use date to call UNIX_TIMESTAMP (), it will return the parameter value
1. Local backupCompile an automatic backup script:Vim/var/lib/mysql/autobakThe content is as follows:
Copy codeThe Code is as follows: cd/data/home/mysqlbak
Rq = 'date + % Y % m % d'
/Usr/local/mysql/bin/mysqldump sqldb -- flush-logs-uroot-p123456 --
Dongfang net will provide you with 100 M-500 M/MYSQL/FTP free all-around space application,
Originally from: Medium) Dongfang net provides-m free all-around space application, fast, no advertisement, the space needs to pay for the Forum currency to
Next article: mysql uses mysql-udf-http Efficiency Test notes. Instead of using the rest architecture, this time it uses libmemcached and memcached_functions_mysql. The test version is:
Libmemcached-0.34.tar.gzand
After MYSQL exports an SQL statement:
DELIMITER $
Drop trigger if exists 'updateegopriceondelete' $
CREATE
TRIGGER 'updateegopriceondelete' after delete on 'mermerinfo'
FOR EACH ROW BEGIN
Delete from egoprice WHERE customerId = OLD. customerId;
END $
MySql is definitely suitable for dba-level Masters. Generally, you can write 11 thousand pieces of news in a small system, and you can achieve rapid development using the xx framework. However, if the data volume reaches 0.1 million or tens of
MySQL databases can be said to be one of the most common and common databases for DBAs. The wide application of MySQL also adds more people to the ranks of them. The following are some of the most common and frequently used MySQL Databases
We often use the MySQL replace function. The following describes the usage of the MySQL replace function in detail, hoping to enlighten you in learning the MySQL replace function.I recently studied CMS and used mysql replace function during data
1. Use the SHOW statement to find out the current database on the server: Mysql> show databases;+ ---------- +| Database |+ ---------- +| Mysql || Test |+ ---------- +3 rows in set (0.00 sec)2. Create a database, abccsMysql> Create DATABASE
First, let's look at the types of SQL statements supported by MySQL.1. database selection, creation, discard, and changeUseCreate databaseDrap databaseAlter database2. Create, change, and discard data tables and IndexesCreate tableDrop tableCreate
I. SQL Quick StartThe following is an important quick reference for SQL. For SQL syntax and features added to standard SQL, please query the MySQL manual.1. Create a tableA table is one of the most basic elements of a database. Tables and tables can
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