When working previously because the Oracle8i database often appears the user too many errors, due to the large amount of data, often appear ora:12500 error, but the main reason is too much access caused, Later, Java wrote a simple JDBC connection to
First, create a new data access module, the following figure:
This uses the MySQL database, taking into account the Dbgo component (ie ado) unfriendly to MySQL, using the Dbexpress component's access to the travel database.
First, add a
1. May be the/var/run/mysqld/mysql.pid file does not write permission
Workaround: Give permission, execute "chown-r mysql:mysql/database" "Chmod-r 755/var/run/mysqld" and restart mysqld!
2. There may already be a MySQL process in progress
Directory
1.MySQL Hot-Backup script
2. Synchronize server with FTP
3.Keepalived Monitoring and switching scripts
4.SVN batch backup of the version library
5. Automatically monitor ADSL and dial number
6.Linux Batch Build Generation account
When you want to optimize query performance, the best way is to figure out how MySQL optimizes and executes the query. Understand the internal mechanism, in order to better implement the design.
When MySQL executes a query, what exactly does it do,
System environment: CentOS 6.2 64-bit
Kernel version: 2.6.32-220.el6.x86_64
MySQL version: 5.1.62
One, MySQL multi-instance introduction and MySQL multi-instance features
1, what is a MySQL multiple instances?
MySQL multiple instances is on a
First, in a known MySQL database root user password, the method of modifying the password:
1, in the shell environment, using the Mysqladmin command set: mysqladmin–u root–p password "New password" Enter the old password required
2, in the mysql>
The function of the query log is to record all the SQL statements sent by the client, that is, to record all operations of the client
Log parameter is going to be obsolete, now replace with General_log
Open Query Log Feature
Mysql> showvariables
In the database we often use SQL statements to do a simple statistical sort of table, for the Date field, we can simply order it. For a complex point can be group,order by date, month, day, respectively.
Group by year, sorting by statistics:
Four, the first script
If I tell you that the really sad one has passed, you will be very happy. The software installation process is always unpredictable, because the system can be said to be different from the system. But you're lucky, the
Campus Forum is one of the indispensable parts of campus network. Although the forum based on Asp+access simple, easy to install, but the MySQL database with its short, convenient, fast, free and so on the advantages of many sites are currently the
The loss of the password is very distressing things, especially the root password lost: (. I pretend to play lost also lost, but in case it is a server hanging trouble can be big! Now assume that the root password was lost because of the intrusion.
Finally let the server back up the MySQL database every morning and automatically pack, and delete 5 days ago backup files. Share as follows.
1. Environment: Windows Server 2003 + Apache 2.0 + PHP5 + MySQL 4.0.26.
2. Suppose the PHP installation
When you submit a query, MySQL analyzes it to see if you can do some optimizations to make it faster to process the query. This section describes how the query optimizer works. If you want to know the optimization method used by MySQL, you can view
A communication packet is a single SQL statement sent to a MySQL server, or a single line sent to the client.
The maximum possible packet of information between the MySQL 5.1 server and the client is 1GB.
When a MySQL client or mysqld server
When you connect to the MySQL server, you should use a password. The password is not transmitted over plaintext. The password handling in the client connection sequence has been upgraded in the MySQL 4.1.1 and is secure. If you still use the pre-4.1.
I. Configure environment variables:
Softe Version:tomcat5.0.12/mysql4.1.7/mysql_driver---Mysql-connector-java-3.1.4-beta-bin.jar
MySQL driver can be downloaded from www.mysql.com official website
Path:
Tomcat5 in D:\MYWEB\TOMCAT5;
MySQL in
Make sure you are connected to the server, as discussed in the previous section. Doing so itself will not select any database to work on, but that's fine. From this point of view, knowing a little bit about how to ask is more important than jumping
Under MySQL, in the Chinese fuzzy search, often return some unrelated records, such as looking for "%a%", the return may have Chinese characters, but no a character exists. I have encountered similar problems before, after a detailed reading of
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