Many people see garbled characters when inserting data into the database and the data read from the database is displayed as garbled characters on the webpage. In order to help users solve the problem immediately, hope to help anyone in need. (In
Address: http://www.start4e.cn/tabid/62/forumid/-1/postid/57/scope/posts/Default.aspx
1, install MySQL database ODBC driver, mysql-connector-odbc-3.51.19-win64.msi, http://www.mysql.com/find the corresponding windows under the
ArticleDirectory
I. Software Packages
I. Software Packages
A) MySQL-ndb-management-5.0.90-1.i386.rpm
B) MySQL-ndb-management-5.0.90-1.i386.rpm
C) mysql-5.0.27.tar.gz
2. Install [Management Nodes]
A) rpm-IVH MySQL-ndb-tools-5.0.9
ArticleDirectory
I. Software Packages
I. Software Packages
A) drbd-8.3.2.tar.gz (Master/Slave)
B) mysql-5.0.27.tar.gz (Master/Slave)
Ii. Installation Steps
A) CD/var/local/software
B) tar zxvf drbd-8.3.2.tar.gz
C) CD drbd-8.3.
1:
Navicat
Http://navicat.com/cn
2:
Mysql-front 3.2 Simplified Chinese version
3:
MySQL interface operating software: sqlyog Enterprise Special Edition ~! No installation required. It can be used after decompression!
Software
After three days, I finally completed the project. Let's make a summary and learn from history.
When I was sure to use Perl to do this, an old bird in the company saw it and said to me, "Why don't you use C # To write? First, you are skilled and do
ViewDatabaseSelect version (), current_date ();
Show databases for the database;
Select use db_1 for a database;
Create db_1 for creating a database;
Insert into db_1 values (...);
Select database () is used for the selected database ();
Because the MySQL database needs to be exported in ant, The mysql_extractor class is written for your reference.
Extractor. php:
If (! Empty ( $ _ Server ['Argv' ]) { For ( $ I = 1; $ I $ _ Server ['Argc ']; $ I ++ ){ List ($ K , $ V ) =
MySQLSlave4. xSupported versionsUnicode,3. xOnlyLatin1Encoding. I started using it at work.MySQLUsedPHPAccess, webpageXxx. phpYesGb2312Encoding, used to store the dataPHPThe output is in Chinese.PhpMyAdminRunSelect,Update,DumpThey are all
The database inserts, updates, and deletes records in the table.
InsertStatement to insert data
UpdateStatement to update data
DeleteStatement to delete data Reference Table
Insert data without specifying the field name
MySQL> Insert
The traditional process of using JDBC to access a database is as follows:Class. forname ("com. MySQL. JDBC. Driver ");String url = "JDBC: mysql: // localhost: 3306/test? User = root & Password = 123456 ″;Connection con = drivermanager. getconnection
To operate a table, you must first select a database because the table exists in the database. Select Database
MySQL> UseSchool;DatabaseChanged
After selecting the database, we can create tables in this database. Create a table
MySQL> Create
Data is very important. I want to know this with my toes. To ensure data security, we need to regularly back up data.
Here are some notes about data backup and restoration.
Data backup use the mysqldump command to back up a database
Mysqldump-
set it to GBK. you can write my. INI to automatically set: in the Windows system installation directory (such as: C: \ WINDOWS \ My. INI) create "My. ini" file. Note that the suffix is "ini ". The content is as follows: [winmysqladmin] Server =
General steps for MySQL optimization:
1. Run the show status command to check the execution efficiency of various SQL statements.
Show status provides the status information of the msyql Server
Generally, we only need to know the commands
Obtain the current date + time (date + time) 1.1 function: Now ()
Related functions: current_timestamp (), localtime (), localtimestamp ()
Example:
2. Get the current date)
Function: curdate ()
Related functions:
Today, I tried to change the password for connecting to MySQL.PhpMyAdmin tries to connect to the MySQL server, but the server rejects the connection. Check the host, user name, and password in config. Inc. php and make sure the information is
This example achieves the following results:0. The test database has the userinfo user information table and the userinfolog user information log table.1. When a new record is created for a userinfo table, the trigger adds the new log to userinfolog.
Jboss7.02 is greatly changed compared with jboss4.2.3. The original-Ds. XML data source configuration method does not seem to work anymore.
The following creation steps depend on the mysql-connector-java-5.1.17-bin.jar, which was previously
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