Free Source Code and Tutorials

Custom Search

05- MySQL Database

MySQL database is used in organizing a group of tables. For instance, when you create different tables that shared a common theme you need to group them into one database to manage it easily.



How to create a database?

Creating a database directly through a PHP script do not allow by most web hosts but they require to use the PHP/MySQL administration tools on the web host control panel to create databases.


MySQL Database Example:

  • Server – localhost
  • Database – testdb
  • Table – table
  • Username – useradmin
  • Password – passadmin


Note: In the advanced tutorial, the table may change but everything else will remain the same.


Set the server name(localhost) to a server because all of our scripts are going to be placed on the server where MySQL is located. Correct the url, if the MySQL server was running on a different machine.


Facebook Comments
(Visited 19 times, 1 visits today)
Share this

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked * © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!

%d bloggers like this: