1. Start
After MySQL is installed, run the following command to start MySql in the/etc/init. d directory.
[Root @ test1 init. d] #/etc/init. d/MySQL start
2. Stop/Usr/bin/mysqladmin-u root-P Shutdown
3. Automatic Start1) Check whether MySQL is
Content:
*************
1
After installing MySQL, change the root password and use
Net startmysql
I encountered this problem at startup.
C:/MySQL/bin/mysqladmin-u root-P Shutdown
Net start MySQL does not have this error prompt!
For beginners, the most feared thing is environment configuration. I often encounter such a problem and waste a lot of time.
Today, I found an illustrated Apache + PHP + MySQL tutorial on the Internet. I installed and configured it step by step,
MySQL cannot be started in XAMPP-control today. It prompts that MySQL service is not started. I really don't know what's going on at the moment, when the 360 security guard prompts me whether to set MYSQL as a system service or not, this problem
MySQL is a database software with excellent performance, and PHP is a powerful server-side scripting language. In the development of Shanxi Aluminum Factory website, I have used php4.0 + mysql3.23.38 to establish a variety of applications. Next, we
Before reading this, make sure that you have correctly loaded the PDO extension.
Edit PHP. ini.
Manually add the two rows (no semicolon before ;):
Extension = php_pdo.dll
Extension = php_pdo_mysql.dll
Then, set extension_dir
First, view the current character set in MySQL.
Mysql> show variables like "% char % ";
+ -------------------------- + ---------------------------- +
| Variable_name | value |
+ -------------------------- + ---------------------------- +
|
We often need to back up the database. There are several schemas in the database, which is very troublesome. Write a script. Well, it's convenient.
The current user name, password, and host are all written in the script, which is more convenient.
I. InnoDB row lock ClassificationRecord lock: Record lock, that is, only a single row is locked.Gap lock: interval lock. Only one interval is locked. (Note that the interval here is an open interval, that is, the boundary value is not
Attribute: auto-increment ColumnNot Required: Unique, primary, positive number, bigint
Attribute: auto_increment is an optional attribute of MySQL In the table column definition. It conflicts with the default attribute.
Attribute: The index on
Character Set and sorting rules
The character set is a collection of glyphs and corresponding encodings.
Sorting rules are how to understand and process sorting.
MySQL consciously handles character sets and sorting rules ahead
Number
Extended: The display width only tells MySQL whether to fill the front blank when the number of numeric characters with a specified display width is less than the specified width. It does not affect the storage range and display of
In MySQLNo table VariablesThis concept!
MySQL has a temporary table: create temporary table if not exists {table definition}-- The keyword "temporary" indicates that MySQL creates a session-level temporary table.
The temporary table is
I am close at the job of converting MSSQL into mysql. I have summarized some experiences and shared them with you.
At the same time, these will be constantly updated. I hope you can add more information.
1 MySQLSupportedEnum,AndSetType,SQL
ArticleDirectory
Example-HTML form
Example:
Example:
AJAX can be used for interactive communication with databases. Ajax database instance
In the following Ajax example, we will demonstrate how to use Ajax technology to read
Apache + MySQL + PhP environment Configuration
1. Apache installation Configuration
Version: apache_2.2.6-win32-x86-no_ssl
Directly install the software by default. When installing the software, close the browser and download the software.
In the past, MySQL stored procedures did not have the concept of arrays, and there was little information on the Internet. Drop procedure if exists pro_deletelog; -- create procedure pro_deletelog (qualification varchar (100) -- Define the parameter
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