|
-
Jun 27th, 2003, 03:06 AM
#1
Can mySQL generate scripts for me?
Currently, I've got mySQL on my laptop, and I have one particular table in which I have pre-determined values.
Now, I want to be able to enter these values onto the mySQL database on my web server.
I don't want to have to manually enter the values, as that would take forever, since there are about 110 fields I want to enter.
Can mySQL generate a SQL script for me to do this? Or is there some other method for accomplishing this?
TIA
-
Jun 28th, 2003, 02:16 PM
#2
-
Jun 29th, 2003, 01:38 AM
#3
Frenzied Member
use phpmyadmin to make a backup in a sql file. or you can use mysqldump() at the command prompt or you can go into mysql/bin/winmysqladmin.exe and do it there.
-
Jun 30th, 2003, 01:26 AM
#4
Originally posted by phpman
use phpmyadmin to make a backup in a sql file. or you can use mysqldump() at the command prompt or you can go into mysql/bin/winmysqladmin.exe and do it there.
I spent about 20 minutes trying various combinations with mysqldump at the mysql> command prompt. :aargh:
Finally, I had the brains to go back to c:/mysql/bin> and try it
mysqldump -u username -p password datbasename > "anyfile.sql"
-
Jun 30th, 2003, 06:13 AM
#5
Member
LOOKS LIKE
someone just copy and paste the code
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|