how to createe ....

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
kujtim
Forum Commoner
Posts: 35
Joined: Sat Oct 25, 2003 4:00 am
Location: kosovo
Contact:

how to createe ....

Post by kujtim »

I have transfered uploaded site in my desctop the site contain a file (db_name.sql) how can I put this datas which are in the file on my mysql in my computer........

If you understand please help me...............
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

You ll need to install mysql on your computer... i suggest you easyphp.. go at http://www.easyphp.org
it s really easy to use..
install it and then put your uploaded site in your
c:\program files\easyphp\www\

or wherever you install easyphp... it comes with phpmyadmin.. so you can setup mysql (it will creat a folder named mysql)...

i dunno if it helped...
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

kujtim:

At the MySQL console, run this command:

mysql database_name < mytables.sql

You'll also probably need to include -u and -p to specify username and password.
Post Reply