Hello,
I’m doing a PHP/MySql project for collage.
Ubuntu shows I have the server installed:
MySQL Server
MySQL database server (metapackage depending on the latest version)
I have the Terminal open and mysql up. But how do I feed in my script to create the databases?
Show database; comes up with
mysql> show databases;
±-------------------+
| Database |
±-------------------+
| information_schema |
| test |
±-------------------+
2 rows in set (0.00 sec)
And I have the scrip written (and residing in ‘My Project’) to load under var/www in my folder “My Project”.
So is there a command that will load it? We used '. xxx.sql" to load it in class but this is my server, not theirs!
Thanks
Deaf