Running Mysql Script

I am using mysql on ubuntu 8.04 LTS.I have a file with .sql extension.It has some queries for creating tables..How can I execute this script?

Replies

  • komputergeek
    komputergeek
    Finally I got the solution.I used this statement :
    mysql -u root -p dbname < filename.sql
  • shalini_goel14
    shalini_goel14
    komputergeek
    Finally I got the solution:
    Hey Well done komputergeek 😁

You are reading an archived discussion.

Related Posts

In my Laptop , its showing a warning of "Low disk space on C Drive.Its running out of space." and its showing 157MB of free space in C Drive. I...
After 26/11, And all dirty politics games..What all of you think?? Should we give vote to Illiterate MLA or Educated MLA is must..😕 . On one hand, we have Narendra...
[FONT="]“Any sufficiently advanced technology is indistinguishable from magic![/FONT][FONT="]”- Arthur C. Clarke (Science fiction writer)[/FONT] [FONT="]This spring, we offer to take you on a magical ride… You perform, you applaud. You...
Hey i am doing am E&C engineering 8th sem...help me out with seminar topics????😕
hi!! everyone please help i m new working with asp.net but problem is that when i choose the new project in asp.net the error gives web server may not be...