Job Recruitment Website - Immigration policy - What is the default password after installing mysql under Linux?

What is the default password after installing mysql under Linux?

1. After installation, there is no password by default. You can use the following command to set the password for the root user:

Mysql _ Security _ Install

2. Enter the password twice according to the prompt, and the setting is successful.

Pay attention to whether to delete anonymous users, deny root remote access, delete the database for testing, etc. These need to be chosen according to your actual situation.

3, finally appeared: Thanks for using MySQL! , the password was set successfully.

4. Restart MySQL after modification:/etc/init.d/mysqld restart.

MySQL is a relational database management system, which was developed by Swedish MySQL AB company and is currently a product of Oracle. MySQL is one of the most popular relational database management systems, and MySQL is the best RDBMS (Relational Database Management System) application software in WEB applications.

MySQL is a relational database management system, which saves data in different tables instead of all data in a big warehouse, thus improving the speed and flexibility.

SQL language used by MySQL is the most commonly used standardized language for accessing databases. MySQL software adopts the strategy of dual authorization, which is divided into community version and commercial version. Because of its small size, high speed, low total cost of ownership, especially its open source, MySQL is generally chosen as the website database for the development of small and medium-sized websites.

Compared with other large databases such as Oracle, DB2 and SQL Server, MySQL has its own shortcomings, but this has not reduced its popularity at all. For ordinary individual users and small and medium-sized enterprises, MySQL provides more than enough functions, and because MySQL is open source software, it can greatly reduce the total cost of ownership.

Linux is the operating system, Apache or Nginx is the Web server, MySQL is the database, and PHP/Perl/Python is the server-side script interpreter. Because these four softwares are all free or open source software (FLOSS), a stable and free website system can be established without spending a penny (except labor cost) in this way, which is called "LAMP" or "LNMP" combination by the industry.