Creating a MySQL database and adding a user from CLI
mysql -uroot -p mysql> CREATE DATABASE staff_hieraki; mysql> GRANT ALL PRIVILEGES ON staff_hieraki.* TO staff@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;
TextSnippets > users >
Post code snippets. Sort by tags, people, people and tags, etc..
Top Users
47 | nothingless |
26 | jason |
15 | rsimplicio |
11 | ubernostrum |
10 | soul |
9 | jacques |
6 | kjell |
6 | dean |
5 | rubymatt |
4 | nickstenning |
4 | dasil003 |
3 | unquiet |
3 | jimray |
3 | johnt |
3 | christopher |
3 | ryan |
3 | ludo |
3 | tim |
3 | bcrow |
3 | vixx |
3 | Q2Developers |
3 | Sencer |
2 | cnladd |
2 | miraclebaby |
2 | aaron |
2 | yetsirah |
2 | Nis |
2 | julik |
2 | jblomberg |
2 | ubs |
2 | jtnt |
2 | hil |
2 | marten |
2 | cch |
2 | mamash |
2 | danb |
1 | Skybly |
1 | joeldg |
1 | iolaire |
1 | matteov |
1 | jarkko |
1 | sam |
1 | orgoed |
1 | froehle |
1 | mrmachine |
1 | sid |
1 | will |
1 | jamie |
1 | willcodeforfoo |
1 | lypanov |
? Earlier | 1 items total | Later ? |
mysql -uroot -p mysql> CREATE DATABASE staff_hieraki; mysql> GRANT ALL PRIVILEGES ON staff_hieraki.* TO staff@localhost IDENTIFIED BY 'password-goes-here' WITH GRANT OPTION;
? Earlier | 1 items total | Later ? |
Developed by Peter Cooper and powered by Ruby On Rails