PHP notes, Han Shunping php notes _ PHP Tutorial

Source: Internet
Author: User
PHP notes, Han Shunping php notes. PHP notes, Han Shunping php notes Mysql ----------------------------------------------------------------------------- Mysql changes the default password updatemysql. usersetPasswordPASSWORD


Mysql
-----------------------------------------------------------------------------

Change the default password for Mysql
Update mysql. user set Password = PASSWORD ('000000') WHERE User = 'root'
FLUSH PRIVILEGES

Remove the MYSQL paradigm, reverse paradigm, and hybrid paradigm
Index creation
Cmd command line


Full-text index
------------------------------
Alter tabletable_reg_c addfulltext (catalog)

Repair table tablename quick

Select * from table_reg_c where match ('catalog ') against ('2 in boolean mode ')

Select * fromtable_reg_c wherematch ('catalog ') against (2)

UPDATE 'Infinite _ Class'. 'Table _ reg_c 'SET 'catalog' = '0, comment, 20000, 30000 'where' table _ reg_c '. 'id' = 3;

ExplainSELECT * FROM 'Table _ reg_c 'WHEREmatch (catatch) against ('123 ')

Explain SELECT * FROM 'Table _ reg_c 'WHERE match (catalog) against ('20140901 ')

# Apache
------------------------------------------------------------------------------
Apache \ bin \ ApacheMonitor.exe

# Mysqld

----------------------------------------------------
Install mysqld install
Net start mysql startup service

Zend code style
----------------------------------------------------------------
Formatter {}

Ctrl + shift + f Select All. This will automatically typeset.

Upgrade Mysql ----------------------------------------------------------------------------- change Mysql default Password update mysql. user set PASSWORD = Password ('12...

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.