First, the MySQL user's basic description:
1.1 Basic structure of the userUsers of MySQL: User name @ host
Username: within 16 charactersHost: Can be host name, IP address, network address, etc.Host Name: Www.111cn.net,localhost
ip:192.168.0.1
1, download the MySQL installation files
The following two files are required to install MySQL:
mysql-server-5.0.26-0.i386.rpm
mysql-client-5.0.26-0.i386.rpm
Download Address: http://dev.mysql.com/downloads/mysql/5.0.html, open this page,
PHP Server Environment build installation software preparation
1. Apache224.tar.gz2. php-5.2.9.tar.gz3. mysql-5.1.54.tar.gzPHP and individual component packagesLibxml2-2.6.30.tar.gzXML C language version of the
MySQL download address for all platforms: MySQL download. Select the MySQL Community Server version you need and the corresponding platform.
First, install MySQL on Linux/unix
The Linux platform recommends the use of the RPM package to install
MySQL InstallationInstall MySQL on Linux/unixThe Linux platform recommends the use of the RPM package to install Mysql,mysql AB provides the following RPM package download address:
Mysql-mysql server. You need this option unless you only want
First, install MySQL
1, download the MySQL installation filesThe following two files are required to install MySQL:mysql-server-4.0.16-0.i386.rpmmysql-client-4.0.16-0.i386.rpmDownload Address: http://dev.mysql.com/downloads/mysql-4.0.html, open
You can create a MySQL account in two ways:
1. Use the GRANT statement2. Direct operation of MySQL authorization form
The best way to do this is to use the GRANT statement because it is more accurate and less error.
To create a super User:
Two, install MySQL 1, download mysql installation file Install MySQL need the following two files: mysql-server-4.0.16-0.i386.rpm Mysql-clien t-4.0.16-0.i386.rpm Download Address: http://www.mysql.com/downloads/mysql-4.0.html, open this page,
Centos6.5 Lamp Environment Source package installation and configuration
HTTP://PAN.BAIDU.COM/S/1NVNRUZV installation package Baidu Network disk addressLamp is a Web network application and development environment, is the abbreviation of
When you first install MySQL on a machine, the authorization table in the MySQL database is initialized like this:
You can connect as root from the local host (localhost) without specifying a password. Root user has all permissions (including
MySQL uses the user name for the authentication purpose, regardless of the UNIX user name (login name) or the Windows user name. By default, most MySQL clients try to log on using the current UNIX username as the MySQL username, but this is only for
If you are a WEB developer, there are many times when you need to build a server test environment locally, such as the apache+mysql+php environment. In fact Mac OS X wants to build such an environment is very simple, this article we will be a
XAMPP is a relatively powerful local test platform, although the panel is in English, but clearly understandable. Registration as a system service has the advantage that the boot can automatically run, but will consume a certain amount of system
mysql| Data | Data Catalog Conceptually, most relational database systems are similar: they all consist of a set of databases, each containing a set of tables. However, all systems have their own methods of managing data, and MySQL is no
The root password for the MySQL database can be modified in several ways:
First, in a known MySQL database root user password, the method of modifying the password:
1, in the shell environment, using the Mysqladmin command set: mysqladmin–u root–p
mysql| Backup | data | database
1 using mysqldump to back up and copy databases
When you use the Mysqldumo program to generate a database backup file, the file contents contain the Create statement that creates the table being dumped and the INSERT
mysql| Backup | data | Database It is important to back up the database when the table is lost and destroyed. If the system crashes, you can restore the table to the state of the crash and try not to lose data. Similarly, users who mistakenly send a
I. System database
INFORMATION_SCHEMA: Virtual library, do not occupy disk space, storage is the database startup parameters, such as user table information, column information, permission information, character information, etc.
MySQL:
the basics of MySQL1. Use of help in MySQL serverFormat: mysql> help commandeg: mysql> help create database Name: ' Create database ' description: syntax: create { database | schema} [if not exists] db_name [create_
Error log:By default, the error log probably records the following areas of information:1. Information during server startup and shutdown (not necessarily error messages, for example, how MySQL launches InnoDB tablespace files, how to initialize its
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.