Mysql Getting Started: mysql database

Source: Internet
Author: User

The MySQL database does not have its own. On the contrary, MySQL databases are a group of tables that are organized. If you create many different tables and share a common topic, you will combine them into a database to make the management process easier. MySQL database
MySQL database does not have its own. On the contrary, MySQL databases are a group of tables that are organized. If you create many different tables and share a common topic, you will combine them into a database to make the management process easier.


Create your first database
Most network hosts do not allow you to create a database directly using PHP scripts. Instead, they need you to use PHP/MySQL management tools to build these databases on the control panel of the hosts on the network. Create a database and specify a new user for the database. Starting with all our examples, we will use the following materials:

Server: localhost
Database-test
Table-explame
Use-admin
Password-1 admin
Note: The table may change with advanced experience, but everything will remain unchanged!

The server is the name of the server. We want to connect to it. Because all our scripts should be placed on the MySQL server and the correct address is the local host. If the MySQL server runs scripts from different machines, you need to enter the correct URL (here is the details of your web host ).

Your database, table, user name, and password do not match ours. If you select a set of different logon information, remember to copy the script when you insert your own information.

Status check
So far, you have created a new database and specified a user for it. You should not create a table. If you are the latest student, continue the tutorial. We will explain an upcoming lesson in our first table.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.