System Information Conventions:
System version: CentOS 6.3 X86PHP installation directory:/usr/local/webserver/php5318MySQL installation directory:/usr/local/webserver/mysql5520Handlersocket Installation
First, the main library, from the Library synchronization test
[Root@master-mysql ~]#/usr/local/mysql/bin/mysql-uroot-pMysql> Show Processlist\gState:master has sent all binlog to slave; Waiting for Binlog to is updatedmysql> CREATE DATABASE
1. Note Update cache (in the background)
2. If it is under *nix, please set the Admin/cache directory and all the files below to 777 (cache directory generated files I have deleted, if you reflect the error, you can consider the provision of a
100M Free Universal Space:1, we solemnly promise: committed to providing China's best free space, and permanent free, never close a legal space2, important reminder: Where to apply for the site's free space needs to be timely to the Ministry of
Have you ever thought about starting using your own web page for personal or commercial use.
Please try our service and start a hobby website or profit all these are free.
Upgrade to high-capacity packages as the business grows.
Click on one of
Problem Analysis:
1, c:/windows/temp folder permissions are not enough, at least to give the USERS group readable and writable permission;
2, C:/windows/temp folder full of disk, the file is not written in, empty the TEMP folder;
3, third party
There may be a situation where you need an identical replica table create TABLE ... The select is not appropriate because the copy must contain the same index, default, and so on.
You can handle this situation by following the steps below.
Use
If you have the use of InnoDB to store your MySQL table, use the default settings should have a very headache problem, in the MySQL data directory has a default only 10MB called Ibdata1 file The growth of night and night you are tired of it? It
MySQL Startup report 1067 error, the system log is "service MySQL unexpected Stop" in the MySQL log is: "Plugin ' federated ' is disabled"
I find solutions on the Internet:
1, in the My.ini file in [mysqld] add a row tmpdir= "d:/mysql/data/"
Grant statement adds new users:
(Note: Unlike the above, the following are the commands in the MySQL environment, followed by a semicolon as the command Terminator)
Format: Grant Select on database. * To User name @ login host identified by
I suddenly find that the MySQL tutorial will produce different results for the different processing of count (*)
such as executionSelect COUNT (*) from TableNameMySQL can return results very quickly even for tens other data.And forSelect COUNT (*)
MySQL tutorial left-connect SQL left-hand join statement detailedMySQL left-join query is a way of federated query, that is, two related tables are joined together in this way to query, which makes it easier to call data and avoid multiple loops
Scripts are placed in the/home/user/mysql tutorial _backup.sh
Crontab
# crontab-l
# m H Dom Mon Dow command
* * */home/user/mysql_backup.sh
The script is as follows
#!/bin/sh
# mysql_backup.sh:backup MySQL databases and keep newest 5 days
You can put this script into the crontab, his configuration file in the/etc/crontab every morning, the automatic backup of this script only once a day, and keep only the last five days of backup on the server.
The code is as follows
Materials:
1. MySQL for Visual Studio 1.2.4.msi
Download: http://dev.mysql.com/downloads/windows/visualstudio/
2, Mysql-connector-net-6.8.3.msi
Download: http://dev.mysql.com/downloads/file.php?id=405442
EntityFramework.dll, MySql.Data.dll,
Modify the configuration file of Discuz. FindInstall/config/config_global.php and/uc_server/data/config. inc. php.OK. No error is returned. However, whether you click Register or log on, an "internal error is returned and this content cannot be
By default, log files are enabled for MySQL/MariaDB 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 * similar file
Experimental system: CentOS 6.6 _ x86_64Prerequisites: most software is compiled and installed. Prepare the compiling environment in advance, and disable firewall and selinux.Experimental Software: nginx-1.9.3 mariadb-10.0.20 php-5.6.11 memcache-2.2.
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