diff --git a/GoldenOwl.app/.DS_Store b/GoldenOwl.app/.DS_Store deleted file mode 100644 index 49fb028..0000000 Binary files a/GoldenOwl.app/.DS_Store and /dev/null differ diff --git a/GoldenOwl.app/._.DS_Store b/GoldenOwl.app/._.DS_Store deleted file mode 100644 index 8e82ed9..0000000 Binary files a/GoldenOwl.app/._.DS_Store and /dev/null differ diff --git a/GoldenOwl.app/config/._DBPAss b/GoldenOwl.app/config/._DBPAss deleted file mode 100644 index 55b0ede..0000000 Binary files a/GoldenOwl.app/config/._DBPAss and /dev/null differ diff --git a/GoldenOwl.app/config/._DBUser b/GoldenOwl.app/config/._DBUser deleted file mode 100644 index 3360e10..0000000 Binary files a/GoldenOwl.app/config/._DBUser and /dev/null differ diff --git a/GoldenOwl.app/config/._ipserver b/GoldenOwl.app/config/._ipserver deleted file mode 100644 index ed574de..0000000 Binary files a/GoldenOwl.app/config/._ipserver and /dev/null differ diff --git "a/C:\\Librography\\LoggedIn" b/LoggedIn similarity index 100% rename from "C:\\Librography\\LoggedIn" rename to LoggedIn diff --git a/Setup-Linux/DBType b/Setup-Linux/DBType old mode 100755 new mode 100644 diff --git a/Setup-Linux/Librography.desktop b/Setup-Linux/Librography.desktop old mode 100755 new mode 100644 diff --git a/Setup-Linux/Librography.sh b/Setup-Linux/Librography.sh old mode 100755 new mode 100644 diff --git a/Setup-Linux/setup-arch.sh b/Setup-Linux/setup-arch.sh old mode 100755 new mode 100644 diff --git a/Setup-Linux/setup-files.sh b/Setup-Linux/setup-files.sh old mode 100755 new mode 100644 diff --git a/Setup-Linux/setup-mariadb-arch.sh b/Setup-Linux/setup-mariadb-arch.sh old mode 100755 new mode 100644 diff --git a/Setup-Linux/setupMysql.bat b/Setup-Linux/setupMysql.bat old mode 100755 new mode 100644 index 9873c5d..3210d7a --- a/Setup-Linux/setupMysql.bat +++ b/Setup-Linux/setupMysql.bat @@ -1,56 +1,56 @@ -@echo off -:start -netstat -o -n -a | findstr 3306 -if %ERRORLEVEL% equ 0 goto FOUND -echo MySql not found or not usisng default port 3306... -ECHO Do you wanto open open browser to download it? -ECHO 1. yes -ECHO 2. no -set /p choice=Choose your option. -if '%choice%'=='' ECHO "%choice%" is not valid please try again -if '%choice%'=='1' goto open -if '%choice%'=='2' goto FIN -ECHO. -goto start -:open -echo opening the Mysql download link.... -pause -START Https://dev.mysql.com/downloads/installer/ -ECHO you can download the setup fromlink now and after install it we will continue the setup -ECHO choose the default options on setup and don`t forget to take a note of the root password -pause -Rem :continue -Rem echo ok -goto start -Rem goto FIN -:FOUND -echo port found. It mean the Mysql is installed -echo we can continue the setup... -pause -:FIN - -echo . -echo . -@echo off -rem ------------------------------------------------ -echo Creating access to user. Waiting ... -echo Enter the MySql root password: -set /p rootpassword= -set dbname=applibrography -set dbuser=applibrography -set userpassword=gowl -Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p" -SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin -mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;" -mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';" -mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';" - -mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;" -mysql -uroot -p%rootpassword% --execute="source script.sql" -echo Done. -echo "MySQL user created." -echo "Username: %dbuser%" -echo "Password: %userpassword%" -rem ------------------------------------------------ -echo . -echo . +@echo off +:start +netstat -o -n -a | findstr 3306 +if %ERRORLEVEL% equ 0 goto FOUND +echo MySql not found or not usisng default port 3306... +ECHO Do you wanto open open browser to download it? +ECHO 1. yes +ECHO 2. no +set /p choice=Choose your option. +if '%choice%'=='' ECHO "%choice%" is not valid please try again +if '%choice%'=='1' goto open +if '%choice%'=='2' goto FIN +ECHO. +goto start +:open +echo opening the Mysql download link.... +pause +START Https://dev.mysql.com/downloads/installer/ +ECHO you can download the setup fromlink now and after install it we will continue the setup +ECHO choose the default options on setup and don`t forget to take a note of the root password +pause +Rem :continue +Rem echo ok +goto start +Rem goto FIN +:FOUND +echo port found. It mean the Mysql is installed +echo we can continue the setup... +pause +:FIN + +echo . +echo . +@echo off +rem ------------------------------------------------ +echo Creating access to user. Waiting ... +echo Enter the MySql root password: +set /p rootpassword= +set dbname=applibrography +set dbuser=applibrography +set userpassword=gowl +Rem "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql.exe" "--defaults-file=C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" "-uroot" "-p" +SET PATH=%PATH%;C:\Program Files\MySQL\MySQL Server 5.7\bin +mysql -uroot -p%rootpassword% --execute="CREATE DATABASE %dbname%;" +mysql -uroot -p%rootpassword% --execute="CREATE USER '%dbuser%'@'localhost' IDENTIFIED BY '%userpassword%';" +mysql -uroot -p%rootpassword% --execute="GRANT ALL PRIVILEGES ON %dbuser%.* TO '%dbuser%'@'localhost';" + +mysql -uroot -p%rootpassword% --execute="FLUSH PRIVILEGES;" +mysql -uroot -p%rootpassword% --execute="source script.sql" +echo Done. +echo "MySQL user created." +echo "Username: %dbuser%" +echo "Password: %userpassword%" +rem ------------------------------------------------ +echo . +echo .