glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
57 stars 39 forks source link

WEBSITE_DESIGN.md: add files that aid testing for master-server changes #153

Closed andy5995 closed 6 years ago

andy5995 commented 6 years ago

[skip ci]

andy5995 commented 6 years ago

One things I wasn't sure of.. I think the exported file will create the schema if the database structure hasn't been created yet. But I"m not sure.

Point being... ideally I should note if it's required. @sexybiggetje do you think I need to provide the command to import the schema file? I don't remember it but I can find it again, I'm sure.

martijndeb commented 6 years ago

CREATE DATABASE megaglest-master; CREATE USER megaglest-master@localhost IDENTIFIED BY 'secret password'; GRANT ALL ON megaglest-master.* TO megaglest-master@localhost; FLUSH PRIVILEGES;

mysql -u megaglest-master -p megaglest-master < install/scheme_mysql.sql

andy5995 commented 6 years ago

@sexybiggetje Thanks for following up. I have to ask, why did you use "megaglest" instead of "zetaglest"?

CREATE DATABASE megaglest-master; CREATE USER megaglest-master@localhost IDENTIFIED BY 'secret password'; GRANT ALL ON megaglest-master.* TO megaglest-master@localhost;

martijndeb commented 6 years ago

Copy pasted it from my old fork where it wasnt updated yet.