Home > Database > Mysql Tutorial > How to test whether the space supports mysql database?

How to test whether the space supports mysql database?

黄舟
Release: 2017-08-03 10:34:34
Original
1670 people have browsed it

Some spaces are not all-purpose spaces. If you buy one and are not sure whether it supports the database, many webmasters will regret it. You cannot use dynamic websites without database support. Then these two provide a test method for everyone to test whether the space supports mysql database

1. Create a new notepad locally and enter the content in the notepad

<?php
phpinfo();
?>
Copy after login

Then save the notepad.

How to test whether the space supports mysql database?

#2. Then rename the new notepad to ceshi.php.

How to test whether the space supports mysql database?

3. Then use ftp software to log in to the backend of the web space and upload the ceshi.php file to the web space.

How to test whether the space supports mysql database?

4. Then use the web to access the ceshi.php file through the browser.

How to test whether the space supports mysql database?

5. Search for mysql in the browsing results and look at the status display of this port in MySQL Support (mysql excuse) Whether it is enabled.

How to test whether the space supports mysql database?

Notes

The first step is to write code When writing, it must be complete and pay attention to the symbols, which are all in English. Don’t forget to divide it up.

The second step, when renaming, be sure to change the file extension to .php suffix


The above is the detailed content of How to test whether the space supports mysql database?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template