PHP links to common MySQL extension functions, and php links to mysql. PHP links to common MySQL extension functions. php links to mysql 1. PHP connects to the database and basic operations on MySQL use the client server architecture. Use MySQL
Notes about mysql: bitsCN.com
1. if the Key is null, the column value can be repeated, indicating that the column has no index or a non-leading column with a non-unique composite index.2. if the Key is PRI, this column is an integral part of the
Original works of Lin Bingwen Evankaka. Reprinted please indicate the source http: blogcsdnnetevankaka
1. user creation, permission, and deletion
1. connect to MySql
Connection: mysql-h host address-u user name-p user password (note: u and root do
Sometimes there are too many fields in the MySQL table, just remember the table comment. To search for the field name through the field comment, you can use the following statement:
Sometimes there are too many fields in the MySQL table, just
Install Oracle in Linux preparations before installation transfer oracle to the root directory through ssh (this installation is under VMware) LinuxforOracle11g installation package RedHa
Install Oracle in Linux preparations before installation
Although the combination of multiple indexed columns is unique, for example, ID + NAME is unique, no single column can still have duplicate values, as long as ID + NAME is unique.
Although the combination of multiple indexed columns is unique, for
By default, Oracle has three users: sys password: custom; system password: custom; scott password: Tiger (locked by default). Note: to log on to the database as a Sys user, refer to [assysdba
By default, Oracle has three users: sys password: custom;
1, User portrait: User information labeling.2. What can the user portrait do?--the content is being sorted out3. Show command usageShow tables shows all the examples: Show table like ' ... _pre_food ';Show partitions shows all partition examples:
Some errors occurred during the project due to the database version.After the data is restored, the table structure cannot be displayed.After the mysql server is upgraded and the database data is restored, the structure of the desc table using
Http://www.fromdual.com/mysql-handler-read-status-variablesBecause I do a lot of performance Tuning gigs I get often in the contact with these status variables. In the beginning I had a problem to understand them and now I had a problem to memorize
1. Oracle startup and Shutdown1. In a single-host environmentTo start or shut down the Oracle system, you must first switch to the Oracle user, as shown below:Su-OracleA. Start the Oracle SystemOracle> svrmgrlSvrmgr> connect internalSvrmgr>
Basic Common Operations: The following are all tests passed under mysql5.0. First, note that you must add them at the end of each command. (semicolon)1. Export the entire databaseMysqldump -U User Name -P -- Default-character-set = Latin1
I installed ubuntu8.04,All previous operationsIn the ubuntu8.04 environment, MySQL is installed with the new version. There is no problem in starting the server. you can log on to the database and create a table.An error occurs when I describe the
Create user hywin identified by hywin; create a user
Password username Change PasswordAlter User Username identified by new passwordDrop User Username [cascade]; if you have already created a table when deleting a user, you need to include the
1, Official document, basic typedata Query Language documentation:http://www.datastax.com/documentation/cql/3.1/cql/cql_reference/update_r.htmldata types supported by CQL:Compared to MySQL, there are several types of interesting,uuid type,
Ezsql Download Address:
Download: Ezsql
The new version is 2.05 added a lot of support, including Codeigniter,mssql, PDO, etc.
I wrote it once for CodeIgniter, but I only supported MySQL.
See examples of Use
In fact, there is no difficulty,
PHP Basic Learning notes MySQL (14), Learning notes for MySQL
Login to the database system
The database is a "management system" and we must first "log in" the database system using the database.
The methods for logging into the database system are:
MySQL adds, modifies, and deletes the column bitsCN.com.
View constraints in MySQL, add constraints, delete constraints, add columns, modify columns, and delete columns
View the table field information: desc table name;
View all table information:
Mysql optimization is a comprehensive technology, mainly including: a. Table Design rationalization (in line with 3NF); B. Adding an appropriate index (index) [four]: general Index, primary key index, unique index (unique), full-text index; c. Table
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.