PHP develops news management system to create database
Next we open the command line of mysql
Enter the password and press Enter,
Now we can create the database
The database name is news
Next we have to check whether the news database has been created
As shown in the picture above, we have clearly seen that there is news on it, so our database has been created
Now we have to operate the news database
Let's create a simple data table
Table name new
id title (title) content (content) messtime
Let’s create a data table, first select the database
In this way, we have selected the news database. Next, we will create the data table
In this way, our table is created