Jun 19, 2002 #1 thanx Technical User Jun 19, 2002 6 DE Hello, i'm new to mysql and trying to set up a database i modelled with an ER-tool. How do i run the file (*.sql)to create my database? Sorry for my english.
Hello, i'm new to mysql and trying to set up a database i modelled with an ER-tool. How do i run the file (*.sql)to create my database? Sorry for my english.
Jun 20, 2002 #2 piti Technical User Apr 12, 2001 627 SK when you have a plain sql file, u can use a) the command mysql -> mysql -u username -ppassswd < yourfile.sql b) phpmyadmin or any other gui i think your file should have the "create database" and "use" statements on the top, e.g.: create database mydb; use mydb; <now your sql commands> Upvote 0 Downvote
when you have a plain sql file, u can use a) the command mysql -> mysql -u username -ppassswd < yourfile.sql b) phpmyadmin or any other gui i think your file should have the "create database" and "use" statements on the top, e.g.: create database mydb; use mydb; <now your sql commands>
Jun 20, 2002 #3 KarveR MIS Dec 14, 1999 2,065 GB from the mysql command line too : mysql>\./path/to/file.sql *************************************** Party on, dudes! Upvote 0 Downvote
from the mysql command line too : mysql>\./path/to/file.sql *************************************** Party on, dudes!