make a new mysql database
September 26th, 2010 by Lawrence David
- log onto mysql:
- $ mysql -u root
- create the database:
- mysql> create database foo;
- grant access privileges:
- mysql> grant all privileges on foo.* to user@localhost;
September 26th, 2010 by Lawrence David