Wednesday, January 26, 2011

mysql stuff - setting up a (super) user

1. Install mysql-server package
2. Create a super user
mysql> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
    ->     WITH GRANT OPTION;
mysql> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%'
    ->     WITH GRANT OPTION;
3. Install phpmyadmin package

4. Go ahead and import Excel tables!

No comments:

Post a Comment