4 OSM server use databse with follow name :
8 You may create it with your prefrable client or run next (linux) command :
10 $ mysqladmin -u <uid> -p create openstreetmap
12 (change <uid> with appropriate username of administrativ user eg. root )
14 Creating user, password, and access rightts
15 =============================================
19 (change <uid> with appropriate username of administrativ user eg. root )
21 > grant all privileges on openstreetmap.* to 'openstreetmap'@'localhost' identified by 'openstreetmap';
25 Creating database skeleton tables
26 ===================================
28 $ mysql openstreetmap -u openstreetmap -p < db/create_database.sql
30 New server patch (RAILS)
31 ==========================
33 Run follow command to prepare tables to be OSM REILS distribution compatible :
35 $ mysql openstreetmap -u openstreetmap -p < db/migrate.sql