Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 06-05-2009, 10:29 PM   #1 (permalink)
Member
 
Join Date: 12-19-08
Posts: 37
iTrader: 0 / 0%
Latest Blog:
None

RyOn is liked by many
Question Databases

Can I create a database offline, and then upload it to my host?
Or do I have to create it at my hosts site?
I plan on using MySQL.
Please advise.
Thanks
RyOn is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-06-2009, 11:30 AM   #2 (permalink)
Junior Member
 
Join Date: 06-05-09
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

SF_JOHN is liked by many
Export

Assuming you know how... You can create the database where ever you want to. Then export the tables and import them into your hosts database server. Just makesyre you have the permissions and admin tools from your host.
SF_JOHN is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-11-2009, 11:27 PM   #3 (permalink)
Member
 
Join Date: 12-19-08
Posts: 37
iTrader: 0 / 0%
Latest Blog:
None

RyOn is liked by many
O ok
yea i dont know how...
Would you be able to tell me?
RyOn is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-12-2009, 11:02 AM   #4 (permalink)
Possible Terrorist
 
kwvarga's Avatar
 
Join Date: 10-13-03
Location: Tuscaloosa, AL or Atlanta
Posts: 2,504
iTrader: 0 / 0%
kwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web prokwvarga is a highly respected web pro
Send a message via AIM to kwvarga
RyOn you would have to install a MySQL (or other Database software) on your computer.

I recommend you use XAMPP which includes phpMyAdmin
http://www.apachefriends.org/en/xampp-windows.html

You can create your database and all the tables in phpMyAdmin, on your local computer, then export it with phpMyAdmin, and run the .sql scripts on your server, and your tables will be copied into your host's database.
__________________
http://www.kylevarga.com - My blog.
kwvarga is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-26-2009, 08:26 AM   #5 (permalink)
Contributing Member
 
Join Date: 06-25-09
Location: Brighton, UK
Posts: 113
iTrader: 0 / 0%
kieransimkin is liked by somebodykieransimkin is liked by somebodykieransimkin is liked by somebody
When I'm designing a database, I often prototype them in a text editor before even touching a real database server, so I just end up with a text file containing a bunch of SQL statements like this:

Code:
CREATE table foo ( id int(32) not null auto_increment, field1 varchar(255) not null, field2 varchar(255) not null, primary key(id), index (field1) ) TYPE=INNODB; CREATE table bar ( id int(32) not null auto_increment, field3 varchar(255) not null, field4 varchar(255) not null, primary key (id) ) TYPE=INNODB; insert into foo set field1='value1', field2='value2'; insert into bar set field3='value3', field4='value4';
Etc etc.

I find this to be a straightforward way to design how my database is laid out - I often write the entire database in this way and then simply copy and paste the SQL into PhpMyAdmin. This way you also have a script for recreating the database from scratch which can come in very handy when testing.

Last edited by kieransimkin; 06-26-2009 at 08:27 AM.. Reason: adding code tags
kieransimkin is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-01-2009, 07:30 PM   #6 (permalink)
Junior Member
 
Join Date: 05-28-09
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

itravelcn is liked by many
Sure,you can create it offline, and then upload it to your server.
itravelcn is offline  
Add Post to del.icio.us
Reply With Quote
Old 07-02-2009, 07:50 PM   #7 (permalink)
Moderator
 
Join Date: 02-10-07
Posts: 1,279
iTrader: 2 / 100%
Latest Blog:
None

ScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web proScriptMan is a highly respected web pro
Quote:
Originally Posted by kwvarga View Post
RyOn you would have to install a MySQL (or other Database software) on your computer.

I recommend you use XAMPP which includes phpMyAdmin
http://www.apachefriends.org/en/xampp-windows.html

You can create your database and all the tables in phpMyAdmin, on your local computer, then export it with phpMyAdmin, and run the .sql scripts on your server, and your tables will be copied into your host's database.
I agree with this post. This is the easy way to run a server on your local computer for design and test purposes.

I personally find the non-installer version easir to control and deal with while running XP as as the OS.
__________________
These forums are as good as the posts that you contribute to them.
~~
ScriptMan
ScriptMan is online now  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WTB forum databases. Jerlene Content 0 05-10-2009 06:58 PM
[WTS] 4 wordpress databases | 5$ each | Buy before its gone! phyza Content 0 03-21-2009 12:26 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:31 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.