Home  >  Article  >  Backend Development  >  linux php does not have a mysql database

linux php does not have a mysql database

藏色散人
藏色散人Original
2020-10-09 11:03:302308browse

Linux php does not have a mysql database solution: 1. Restart through the command "#mysql"; 2. Use the command "#rpm -ivh database name" to reinstall a new mysql; 3. Find a Linux CD, reinstall the mysql database.

linux php does not have a mysql database

Recommended: "PHP Video Tutorial"

Solution to Linux php not loading mysql

Give me a suggestion:

1. You can restart through the command, if you choose mysql when installing the system.

#mysql

2. You can delete the original mysql and reinstall a new one (download from the Internet)

#rpm –e – –nodeps
#rpm -ivh +数据库名字

3. Find a Linux CD and reinstall the mysql database

The above is the detailed content of linux php does not have a mysql database. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn