Skip to main content
added 5 characters in body
Source Link
FirstOne
  • 6.3k
  • 7
  • 28
  • 48

I agree with the other posters, itsit's much better to put the schema into a file. However, here's how you can do it on the command line:

mysql -uroot -ppassword -e "CREATE DATABASE testdb"

mysql -uroot -ppassword -e "CREATE DATABASE testdb"

I agree with the other posters, its much better to put the schema into a file. However, here's how you can do it on the command line:

mysql -uroot -ppassword -e "CREATE DATABASE testdb"

I agree with the other posters, it's much better to put the schema into a file. However, here's how you can do it on the command line:

mysql -uroot -ppassword -e "CREATE DATABASE testdb"
Source Link
linuts
  • 6.8k
  • 5
  • 37
  • 38

I agree with the other posters, its much better to put the schema into a file. However, here's how you can do it on the command line:

mysql -uroot -ppassword -e "CREATE DATABASE testdb"