Apache.org download and install Apache
Php.net downloads PHP and decompress it (copy DLL to Windows/system32, copy PHP. ini to the Windows folder, modify extention-Dir, and support for MySQL)
Download and install MySQL from mysql.com
The
Method 1: use the set password command
First, log on to MySQL.
Format: mysql> set password for username @ localhost = PASSWORD ('new password ');
Example: mysql> set password for root @ localhost = PASSWORD ('20140901 ');
Method 2: Use
View the current connection system parameters: Show variables like '% char % ';
Mysql> show variables like 'Char % ';+ -------------------------- + ----------------| Variable_name | value+ -------------------------- + ----------------| Character_
# Path to installation directory. All paths are usually resolved relative to this.Basedir = "D: \ MySQL Server 5.1 /"# Path to the Database RootDatadir = "D: \ MySQL Server 5.1/data /"
However, services are not generated because of no installation.
CopyCodeThe Code is as follows: Error code: 1418
This function has none of deterministic, no SQL, or reads SQL data in its declaration and binary logging is enabled (you * might * want to use the less safe log_bin_trust_function_creators variable)
In practice, you need to replace the content of a field in a table in batches. The general thinking process is as follows:
Select
Replace str_replaceUpdate write
In fact, this is a waste of resources and resource consumption. MySQL has a
Simply put, you can use count and more fields in the query.
CopyCodeThe Code is as follows: Select count (ID), ID, name from table
It's embarrassing. My environment is 5.5, and the results can be obtained, but it won't work if I run it on the
The coalesce function can accept multiple parameters and returns the first non-null value of these parameters. If all the provided parameters are null, null is returned.The ifnull function is the same as the coalesce function, but only two
In the past few days, I 've moved the QBlog of the autumn garden to Oracle and fixed several bugs. Then I added some indexes to improve the running performance.
Then I put the autumn garden on MySql and ran around it. I found a lot of problems. I
1. Export data from SQLServer
Run BCP:
Bcp "..." queryout "F: \ test.txt"-c-S1.2.3.4-Usa-P1111
Command parameter description:
(1) import.
This operation is completed using the in command, followed by the file name to be imported.
(2) Export.
This
Copy codeThe Code is as follows: 'mark' set ('index', 'best', 'hot ')
There were few users and few people who knew about it. After a long time, I finally got a set of knowledge points.Looking at the above structure, MYSQL is not stupid. Will it
The MySQL table creation stage is a very important step. The quality and advantages of the table structure directly affect the subsequent management and maintenance, I will share some practical tips to summarize my accumulation of MySQL tabulation
Basic Introduction to MySQL (1 ):1. MySQL versions earlier than MySQL 4 can be managed using an official management tool, similar to MSSQL's "query analyzer"You can download it at http://dev.mysql.com/downloads/administrator/1.0.html.MySQL 4 and
I have been using nhib.pdf for nearly a year. I have sent an example of a recent project. If you want to learn about Nh, you can download it for reference.It also includes the mode of operations Ser and Radius, ing compound primary key, guid primary
Now that you have read this article, you must know what PHP and MySQL are like. But why are you still reading this article? It may be that you used to copy and paste some code and didn't really understand the meaning of the Code; or you may have
Scale Out: horizontal scaling, adding processing nodes to improve overall processing capability
Scale Up: Scale Up to improve the overall processing capability of a single node.
ReplicationMySQL replication is asynchronous and suitable for
Mysql installation directoryDatabase directory/Var/lib/mysql/Configuration File/Usr/share/mysql (mysql. server command and configuration file)Related commands/Usr/bin (commands such as mysqladmin mysqldump)Start script/Etc/init. d/mysql (directory
Mysql in linux Command backup database
If mysql is installed on the machine, enter mysql directly. 1: commands for opening a databaseMysql> use mysqlDatabase changed2: view database commandsMysql> show databases;3: view the table commands
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