Must have solved the JSP in the garbled problem, but still some people's MySQL garbled problem has not been solved, including myself, so I found some information, hope this can completely solve the MySQL database garbled problem.The first method, a
1. Install MySQL 2. Install MySQL Workbench
Install MySQL need to go to http://www.mysql.com/downloads/download the appropriate DMG version
The installation should be aware of the last one of the interface prompts a dynamic password, this must be
This article describes the MySQL index must understand several important issues. Share to everyone for your reference, specific as follows:
1, what is the index?
Indexes are used to quickly find rows that have a specific value in a column. Without
Statement:
UPDATESET Age=5WHERE ' name '=' mang '
As the name implies is to change the age of Mang to 5, but the result is very helpless-
affect the number of rows is 0, what's going on, the grammar is correct, where there is no
How do I change the MySQL root admin password at the win2k command prompt?>mysql-u root-p
Enter Password: Hu Jintao
mysql> use MySQL;
mysql> Update user Set Password=password (' New_password ') where user= ' root ';
In this way, you can modify the
Test table structure:
Copy Code code as follows:
--
--The structure of the table ' tet '
--
CREATE TABLE IF not EXISTS ' tet ' (
' id ' int (one) not NULL,
' Name ' varchar (255) Not NULL,
' URL ' varchar (255) Not NULL
--Renaming tables
Rename table T_softwareport to Software_port;
--Establish a foreign key
ALTER TABLE Software_port add constraint fk_software_port_softwareprocessid foreign key (SOFTWAREPROCESSID) references Software_process (ID) on the
We usually use the password when we connect to the MySQL server. The password was added when it was transmitted over the network. But all the other content is transmitted in the form of clear text.
Of course, if you are concerned about this
The first step: download a JDBC driver package, for example, I used: Mysql-connector-java-5.1.17-bin.jar
The second step: the introduction of the download of the JDBC driver package, I used the MyEclipse, select their own to guide the package of
Mind Mapping
Introduced
The most storage engines used in MySQL are InnoDB and MyISAM. As the default storage engine for MySQL, MyISAM is worth us to learn, the following is my "High-performance mysql"
First, check the status of the system
Check the state of the system through some of the operating system's tools, such as CPU, memory, swapping, disk utilization, or, depending on experience or the state of the system when it is normal, sometimes
6. Bbsd and cq66 server-side transformation
In Bbsd, the module on the user should be better modified, as long as it will be written. The operation of the passwd file is changed to
You can manipulate the member functions of the Usermanage class of
5. Layout module Design
The so-called classification, more is for Telnet server to consider, in cq66 mode, users can press
According to their own wishes to classify, anyway, the final is directly to version as the basic unit of access.
For the
3. Database design
The key or MySQL efficiency problem, reasonable allocation of MySQL memory, especially the table cache
Size. In addition, when the system suddenly lost power? is MySQL robust?
The name of the table is designed with a prefix
Scene
The product has a picture table pics, the data volume nearly 1 million, has a related query statement, because the execution frequency is high, wants to be optimized for this statement
Table structure is simple, main fields:
Copy
Straight into the topic, first look at the PHP verify login name and password is correct code:
connect_error) {die ("Connection failed:").
$conn->connect_error);
//Verify that the content matches the records in the database.
$sql =
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