mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
vilma
Forum Newbie
Posts: 6
Joined: Tue Dec 27, 2005 3:09 pm

mysql

Post by vilma »

I am new with php and mysql,
I have the database created in mysql. I just want to upload it on db folder in mysql directory. Right now my mysql consists of these folders:
css
lang
libraries
scripts
thems

how can I find the db folder or maybe it is not created jet?
thank you!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

8O

If you want to export a database to your own website from somewhere else you need to "dump" to SQL from the original and import it into the other one.

Have you got a MySQL database server running on your host? If so then you can do it easily using phpMyAdmin to both export and import the data. You can also use the command line to do it but it's a little more advanced.

Don't attempt to simply copy your database files directly out of MySQL into another one... that will most likely lead to problems and/or simply not work depending upon the storage engine used.

:arrow: Moved to databases
vilma
Forum Newbie
Posts: 6
Joined: Tue Dec 27, 2005 3:09 pm

Post by vilma »

Thank You!
Post Reply