How to Add Tables to a DB in PhpMyAdmin
If you are using assistive technology and are unable to read any part of the HostMonster website, or otherwise have difficulties using the HostMonster website, please call 866-573-HOST and our customer service team will assist you.
Skip to main content

HostMonster Web Hosting Help

How to Add Tables to a DB in PhpMyAdmin

How to Add Tables to a Database in PhpMyAdmin

This article demonstrates how easy it is to add a variety of tables to your mySQL database in phpMyAdmin.

  1. Log in to your HostMonster cPanel account.
  2. Under Database Tools and select phpMyAdmin.
  3. Select the database you wish to work with.
  4. Inside the structure tab, under the list of tables (if any), there will be a place to "Create tables on database."
  5. Where is says Name, enter the name of your table.
  6. Where it says Number of Columns enter the number of columns you want to configure right now (you can always add more later).
  7. Press the Go button to proceed to the next screen.
  8. Define the column(s) by entering the following information:
    1. Name the Column.
    2. Select the Type of data the column will hold.  Some common types include:
      • INT = Integer (a number without a decimal point)
      • CHAR = Characters (can hold text up to a specific length)
      • VARCHAR = Variable Length Characters (a text field that is not a fixed width).
      • TEXT = For holding large amounts of text.
      • DATE = Can only hold dates.
      • DATETIME = Can hold both a date and a time.
      • (See the MySQL Data Types article for more options.)
    3. Define the Length/Values if required.  For example, the CHAR type will require you to specify the maximum number of characters allowed.
    4. The other fields are optional.
  9. Click on Save when you are finished defining your columns.

A message indicating your table has been created will appear, and your new table will now appear on the list of tables in the database. You can click on the table to see the columns that were created for that table.

Knowledgebase Article 112,572 views bookmark tags: mysql phpmyadmin


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

How do I import a backup of my database (.sql file) using phpMyAdmin?
Knowledgebase Article 778,925 views tags: database mysql phpmyadmin

A repository of information on how you can manage your database by using the phpMyAdmin interface.
Knowledgebase Article 373,181 views tags: commands database mysql phpmyadmin

How to repair and optimize your database using phpMyAdmin:
Knowledgebase Article 439,764 views tags: database mysql optimizing repairing slow speed

Related Help Content

This article will show you how to rename a database table in phpMyAdmin.
Knowledgebase Article 319,815 views tags: databases mysql phpmyadmin

A step by step guide on how to manipulate data in your mySQL tables using phpMyAdmin
Knowledgebase Article 196,625 views tags: databases mysql phpmyadmin

Instructions on adding a column to your database in phpMyAdmin
Knowledgebase Article 204,783 views tags: databases mysql phpmyadmin

A guide to duplicating a MySQL database using phpMyAdmin
Knowledgebase Article 239,581 views tags: databases mysql phpmyadmin

A tutorial on how to perminately delete columns from your mySQL database using phpMyAdmin
Knowledgebase Article 186,283 views tags: Plesk cpanel databases mysql phpmyadmin

How to Restore your MySQL Database?
Knowledgebase Article 381,478 views tags: admin database mysql php phpmyadmin restore

Step by step directions on how you can search your database using phpMyAdmin
Knowledgebase Article 182,368 views tags: Plesk cpanel databases mysql phpmyadmin

I am prompted to set a new MySQL password. What does this mean and how do I change it?
Knowledgebase Article 246,971 views tags: connect database mysql password phpmyadmin username

This site utilizes JavaScript to function correctly. Looks like it's disabled on your browser. Please enable it for your best experience.

For instructions on enabling JavaScript, click here