Title: Database question
Last modified: August 18, 2016

---

# Database question

 *  Resolved [thebrotherhood313](https://wordpress.org/support/users/thebrotherhood313/)
 * (@thebrotherhood313)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/)
 * Im adding an Online users plugin. It says
    create the following table in your
   WordPress DB — CREATE TABLE `wp_onlinecounter` ( `timestamp` int(15) NOT NULL
   default ‘0’, `ip` varchar(40) NOT NULL default ”, `count` int(15) NOT NULL default‘
   0’, PRIMARY KEY (`timestamp`) ) TYPE=MyISAM;
 * Well, i searched. But maybe no one else is as dumb as me and didnt need to ask
   this 😛
    But how can i create that table in WP? I have looked around and cant
   figure it out. Please help 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

 *  1539
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266046)
 * You need access to your MySQL database, either via a command line or phpmyadmin.
   I would suggest asking your web host on how exactly you can access the database.
 *  Thread Starter [thebrotherhood313](https://wordpress.org/support/users/thebrotherhood313/)
 * (@thebrotherhood313)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266068)
 * I have Cpanel and phpmyadmin. I have never had to add a table before. I just 
   am not 100% sure on how to do it.
 *  Thread Starter [thebrotherhood313](https://wordpress.org/support/users/thebrotherhood313/)
 * (@thebrotherhood313)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266069)
 * Sorry about the double post. I got an error last time. So i didnt think it posted
   it.
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266072)
 * To create the table:
    Open phpmyadmin Click the name of your database Click the
   SQL tab. You should see this: [http://www.tamba2.org.uk/wordpress/allimages/restore/restore4.png](http://www.tamba2.org.uk/wordpress/allimages/restore/restore4.png)
   Paste the code above into that white box Click Go – and all should be good 🙂
 *  Thread Starter [thebrotherhood313](https://wordpress.org/support/users/thebrotherhood313/)
 * (@thebrotherhood313)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266079)
 * Nice that worked 🙂
    Thanks for helping me. And now i know how to do it next 
   time.
 * 1 more little question though. Now my links in the sidebar are very small. [http://ipb.chaosb0b.com/](http://ipb.chaosb0b.com/)
   
   That only happend after i added the table. And its only on the theme that i added
   the Online code to show in. Got any ideas on why?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Database question’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [thebrotherhood313](https://wordpress.org/support/users/thebrotherhood313/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/database-question-1/#post-266079)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
