mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-26 04:18:22 +02:00
Cleaned up namespaces (still have to do Map Project) and removed references to FFXIV Classic from the code. Removed the Launcher Editor project as it is no longer needed (host file editing is cleaner).
This commit is contained in:
parent
7587a6e142
commit
0f61c4c0e1
544 changed files with 54548 additions and 55498 deletions
25
data/sql/import.sh
Normal file
25
data/sql/import.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
IMPORT_PATH="path/to/ffxiv-classic-server/sql/"
|
||||
USER=root
|
||||
PASS=root
|
||||
DBNAME=ffxiv_server
|
||||
|
||||
echo Creating Database $DBNAME
|
||||
mysql -h localhost -u $USER -p$PASS DROP $DBNAME
|
||||
|
||||
echo Creating Database $DBNAME
|
||||
mysql -h localhost -u $USER -p$PASS CREATE $DBNAME IF NOT EXISTS $DBNAME
|
||||
|
||||
echo Loading $DBNAME tables into the database
|
||||
|
||||
for X in $IMPORT_PATH'*.sql';
|
||||
do
|
||||
for Y in $X
|
||||
do
|
||||
echo Importing $Y;
|
||||
mysql $DBNAME -h localhost -u $USER -p$PASS < $Y
|
||||
done
|
||||
done
|
||||
|
||||
echo Finished!
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue