Hi! I cannot figure out how to install and use a database that I am given for a project. I'm running Windows 7. Can anybody help me?

Recommended Answers

What do you have? An mysql dump file? If so, you can use:

mysql -u username -p password database_name < filename.sql 
Jump to Post

All 2 Replies

What do you have? An mysql dump file? If so, you can use:

mysql -u username -p password database_name < filename.sql 

Do you mean installing a MySQL or creating a database in MySQL through an SQL file?
Please clarify.

Be a part of the DaniWeb community

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