i have a project that implements the using of database. i chose to use php as the application interface and mysql as the database.

at the end of this month, we should submit the softcopy. now, i'm confused with the files of my project.
i'm using wamp server, and in folder www there are php and html files. but, i don't know which file is the database file. as far as i know, the database is the file with .db extension. but, i can't find it.

does anyone know which file is the database?
thx so much.

Recommended Answers

All 4 Replies

wamp supports MySQL. MySQL does not store databases with .db extentsion. You can find all databases under data directory i.e.
c:\wamp\bin\mysql\mysql5.x.x\data\

I assumed you have installed wamp on c: drive.

Use phpMyAdmin to add, update and manipulate databases.

it means, if i have to submit the mysql files, i have to copy all the files in that directory?

thx for your response.

No, use phpMyAdmin to export your database to an .sql file. It is a text file containing all queries to recreate your database.

oh, thx dude. it's solved then! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.