import a txt file from the command line
Posted 03 October 2006 - 05:16 PM
could anyone tell me how i can import a txt file with sql commands
from the mysql command line?
the following doesnt help me.
mysqladmin create nuke
i have the txt file in a folder into htdocs and i want to run it.
i am already connected to mysql as root.
Posted 03 October 2006 - 05:33 PM
Posted 03 October 2006 - 05:58 PM
mysql> mysql -p nuke <C:\Program Files\Apache Group\Apache2\htdocs\PHP-Nuke-7.8\sql\nuke.sql
and its displayed the -> arrow.
i have created the database (nuke).
Posted 03 October 2006 - 06:36 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users