MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 20th, 2012, 01:09 PM
Bitrush Bitrush is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 10 Bitrush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 3 m 2 sec
Reputation Power: 0
How do you create a database?

I've tried researching this on my own and searching the forums but I haven't had much luck. Another newbie question incoming...

I'd like to tinker around with using the Wordpress CMS but to do that, I need a database. I've never made a database on a server before so I'm rather lost. I have MAMP installed, phpMyAdmin open...but no clue what I am doing.

How do I get a database up on my server that I can hook up to Wordpress?

Reply With Quote
  #2  
Old July 20th, 2012, 01:28 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,373 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 6 h 54 m 49 sec
Reputation Power: 4140
in phpmyadmin, go to the SQL tab, and type in the following statement --
Code:
CREATE DATABASE humpty;
execute this and then see what happens
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book

Reply With Quote
  #3  
Old July 20th, 2012, 01:33 PM
Bitrush Bitrush is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 10 Bitrush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 3 m 2 sec
Reputation Power: 0
Quote:
Originally Posted by r937
in phpmyadmin, go to the SQL tab, and type in the following statement --
Code:
CREATE DATABASE humpty;
execute this and then see what happens


This is probably gonna be an equally silly question but...where is it? If I wanted to use humpty (haha) to setup a Wordpress site, how would I do that? I think they need the db name, username, password, and host name?


EDIT: Would I just find it on my computer and put it onto the server in a particular location in the wordpress folder? =/

Reply With Quote
  #4  
Old July 20th, 2012, 03:10 PM
r937's Avatar
r937 r937 is offline
SQL Consultant
Click here for more information.
 
Join Date: Feb 2003
Location: Toronto Canada
Posts: 26,373 r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level)r937 User rank is General 47th Grade (Above 100000 Reputation Level) 
Time spent in forums: 3 Months 1 Week 2 Days 6 h 54 m 49 sec
Reputation Power: 4140
Quote:
Originally Posted by Bitrush
This is probably gonna be an equally silly question but...where is it?
if that statement i gave you worked successfully, then that database is now on your server, and phpmyadmin should be able to find it

sorry, i don't use phpmyadmin, so i'm not sure which view or panel you should refresh

Reply With Quote
  #5  
Old July 20th, 2012, 03:18 PM
Bitrush Bitrush is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 10 Bitrush User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 3 m 2 sec
Reputation Power: 0
Quote:
Originally Posted by r937
if that statement i gave you worked successfully, then that database is now on your server, and phpmyadmin should be able to find it

sorry, i don't use phpmyadmin, so i'm not sure which view or panel you should refresh


See, the problem is I'm not sure what server that is... I thought I was supposed to put it on like the school server (the only server I have) so I was experimenting with filling in the Wordpress info to see if anything would work but I'm lost. I didn't put in any info when I downloaded and installed MAMP so I'm not sure where it is sticking stuff besides on my computer. I have, to the best of my knowledge, no user name and no password. =/

Really, all I need is the simplest way to put a database on my server so I can check out Wordpress...it feels like this should be simpler or like I'm missing something painfully obvious...

Reply With Quote
  #6  
Old July 21st, 2012, 01:31 AM
lottos lottos is offline
competitions at lottos.com.au
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 251 lottos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 19 h 6 m 7 sec
Reputation Power: 10
Quote:
Originally Posted by Bitrush
See, the problem is I'm not sure what server that is... I thought I was supposed to put it on like the school server (the only server I have) so I was experimenting with filling in the Wordpress info to see if anything would work but I'm lost. I didn't put in any info when I downloaded and installed MAMP so I'm not sure where it is sticking stuff besides on my computer. I have, to the best of my knowledge, no user name and no password. =/

Really, all I need is the simplest way to put a database on my server so I can check out Wordpress...it feels like this should be simpler or like I'm missing something painfully obvious...


If you are wanting to put Wordpress on the school server so it's available for all on the Internet, the first step is to find out if MySQL is available for you to use on that server. If it isn't, then you need to find another server. Plenty of free hosts to use in that case.

The easiest way is to use a host that uses a web panel like cPanel. Then you can easily name and create a database and then create a database user and password. After that you edit the wp-config.php file to include the database name, user name and password along with the hostname (usually 'localhost'). Re-upload the config file to the server and run the install for Wordpress.
__________________
Best website for competitions online to win anything and everything.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > How do you create a database?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap