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!
mysql
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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.