1,105,225 Community Members

How do I install a database from the Command Line Client

Member Avatar
ambageo
Newbie Poster
18 posts since Dec 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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?

Member Avatar
pritaeas
mod_pritaeas
11,285 posts since Jul 2006
Reputation Points: 1,420 [?]
Q&As Helped to Solve: 1,831 [?]
Skill Endorsements: 154 [?]
Moderator
Featured
Sponsor
 
0
 

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

mysql -u username -p password database_name < filename.sql 
Member Avatar
gon1387
Posting Whiz in Training
242 posts since Jan 2011
Reputation Points: 22 [?]
Q&As Helped to Solve: 38 [?]
Skill Endorsements: 4 [?]
 
0
 

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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article