]> git.openstreetmap.org Git - rails.git/blob - db/README
1b50ccd9b9000e2bfa8d10ae1efe4a79fb4a5658
[rails.git] / db / README
1 you want to do something like this
2
3 $ su
4 # mysqladmin create openstreetmap
5 # mysql
6 > grant all privileges on openstreetmap.* to 'openstreetmap'@'localhost' identified by 'openstreetmap';
7 > flush privileges;
8 > exit
9 # exit
10 $ mysql openstreetmap -u openstreetmap -p < db/create_database.sql
11
12 (the last line above gets you to what the server has right now)
13
14 $ mysql openstreetmap -u openstreetmap -p < db/migrate.sql
15
16 (this line gets you to where its going to be when we go live with rails)