GetDotted Domains

Viewing Thread:
"Quick mysql question.."

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 07/12/04 at 21:01
Regular
"Picking a winner!"
Posts: 8,502
Right I'm sure this is possible and I'm sure I've done it before but I just can't remember how.

I have a whole load of info in a database, I'm setting up the database at uni now and want to create and populate the database at uni with the data I have.

Have an SQL file that will create all the tables and enter all the data into the tables.

Now I'm sure there is a command that can be entered that will execute the sql file and carry out all the commands it contains.

Anyone know how?
Wed 08/12/04 at 15:20
Regular
"Picking a winner!"
Posts: 8,502
Cheers

Will give it a try tomorrow.
Wed 08/12/04 at 10:34
Regular
"Lisan al-Gaib"
Posts: 7,093
"mysql db_name < text_file"

Easier to do in mysqladmin.
Tue 07/12/04 at 21:01
Regular
"Picking a winner!"
Posts: 8,502
Right I'm sure this is possible and I'm sure I've done it before but I just can't remember how.

I have a whole load of info in a database, I'm setting up the database at uni now and want to create and populate the database at uni with the data I have.

Have an SQL file that will create all the tables and enter all the data into the tables.

Now I'm sure there is a command that can be entered that will execute the sql file and carry out all the commands it contains.

Anyone know how?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
Impressive control panel
I have to say that I'm impressed with the features available having logged on... Loads of info - excellent.
Phil

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.