Support Forums top_register.gif top_calendar.gif top_members.gif top_faq.gif top_search.gif top_home.gif    

Go Back   Support Forums > General > The Lounge

Reply
 
Thread Tools Display Modes
  #1  
Old 09-07-2002, 10:10 PM
Afkamm
Guest
 
Posts: n/a
Default Anyone with Mysql and Apache installed on their box?

Just install apache, mysql, php and perl on my winME box so I can play with my http://www.phpbb.com forum board

Now the mysql database that's been created is seperated into a lot of files, whereas the backup of my online forum mysql database is just one file with no extension. Using phpMyAdmin I can output the offline forum database as one file with the extension .sql.

Examing these two files I can see small changes, but would it still be ok to upload this file if I remove the .sql extension?

ie. Configure everything offline, then upload.

Suppose I could try it, but I just thought I'd ask to see if anyone does this. :-)


Marc :O)
Reply With Quote
  #2  
Old 09-07-2002, 10:13 PM
admin's Avatar
admin admin is offline
Tech Guru
 
Join Date: Jun 2002
Posts: 920
Send a message via ICQ to admin Send a message via AIM to admin
Default

the many files that you get in the mysql data directory translate into all of the tables that are used. The .sql file is actually a list of commands that is essentially a dump of the database. This sql file is all the commands that you would use to instruct mysql to rebuild your database and fill all those tables with data.
__________________
AlphaOmegaHosting.Com - Hosting since 1998
Web Hosting, Managed Dedicated Servers, Exchange Hosting, Managed VPS
http://www.AlphaOmegaHosting.Com
Integrity - Doing the right thing...even when no one is looking.
Reply With Quote
  #3  
Old 09-07-2002, 10:23 PM
Afkamm
Guest
 
Posts: n/a
Default

Is that how it is on the Mysql server? The database is numerous files for each table which are then dumped into one when a backup is requested?


What time are the backups done at, or are they done on the fly when you click the link from within cPanel? :-)

Cheers

Marc :O)
Reply With Quote
  #4  
Old 09-07-2002, 10:25 PM
admin's Avatar
admin admin is offline
Tech Guru
 
Join Date: Jun 2002
Posts: 920
Send a message via ICQ to admin Send a message via AIM to admin
Default

On the fly when you click the button

Also, it is not just all the files dumped into one. It is actually a pretty cpu intensive operation to convert from a database to a dump and back again.

One of our users has a 500M database and the server cpu has to work really hard to import that data...it can take a very long time to import it.
__________________
AlphaOmegaHosting.Com - Hosting since 1998
Web Hosting, Managed Dedicated Servers, Exchange Hosting, Managed VPS
http://www.AlphaOmegaHosting.Com
Integrity - Doing the right thing...even when no one is looking.
Reply With Quote
  #5  
Old 09-07-2002, 10:41 PM
Afkamm
Guest
 
Posts: n/a
Default

a 500MB database? Eeeeek

It'll probably zip down to about 300-350 though for downloading


Marc :O)
Reply With Quote
  #6  
Old 09-07-2002, 10:47 PM
admin's Avatar
admin admin is offline
Tech Guru
 
Join Date: Jun 2002
Posts: 920
Send a message via ICQ to admin Send a message via AIM to admin
Default

316M to be exact
__________________
AlphaOmegaHosting.Com - Hosting since 1998
Web Hosting, Managed Dedicated Servers, Exchange Hosting, Managed VPS
http://www.AlphaOmegaHosting.Com
Integrity - Doing the right thing...even when no one is looking.
Reply With Quote
  #7  
Old 09-08-2002, 08:19 PM
Rodzilla
Guest
 
Posts: n/a
Default

MWHAHAHAHA
Reply With Quote
Reply

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 Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:41 AM.


Powered by: vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.