From bc5429eba52f43ffcc5e00a97aaa0abad8731315 Mon Sep 17 00:00:00 2001 From: flashlan Date: Mon, 21 Nov 2022 22:50:20 -0300 Subject: [PATCH] bug fix loggein is outside directory --- GoldenOwl.app/.DS_Store | Bin 6148 -> 0 bytes GoldenOwl.app/._.DS_Store | Bin 4096 -> 0 bytes GoldenOwl.app/config/._DBPAss | Bin 4096 -> 0 bytes GoldenOwl.app/config/._DBUser | Bin 4096 -> 0 bytes GoldenOwl.app/config/._ipserver | Bin 4096 -> 0 bytes "C:\\Librography\\LoggedIn" => LoggedIn | 0 Setup-Linux/DBType | 0 Setup-Linux/Librography.desktop | 0 Setup-Linux/Librography.sh | 0 Setup-Linux/setup-arch.sh | 0 Setup-Linux/setup-files.sh | 0 Setup-Linux/setup-mariadb-arch.sh | 0 Setup-Linux/setupMysql.bat | 112 ++++++++++++------------ 13 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 GoldenOwl.app/.DS_Store delete mode 100644 GoldenOwl.app/._.DS_Store delete mode 100644 GoldenOwl.app/config/._DBPAss delete mode 100644 GoldenOwl.app/config/._DBUser delete mode 100644 GoldenOwl.app/config/._ipserver rename "C:\\Librography\\LoggedIn" => LoggedIn (100%) mode change 100755 => 100644 Setup-Linux/DBType mode change 100755 => 100644 Setup-Linux/Librography.desktop mode change 100755 => 100644 Setup-Linux/Librography.sh mode change 100755 => 100644 Setup-Linux/setup-arch.sh mode change 100755 => 100644 Setup-Linux/setup-files.sh mode change 100755 => 100644 Setup-Linux/setup-mariadb-arch.sh mode change 100755 => 100644 Setup-Linux/setupMysql.bat diff --git a/GoldenOwl.app/.DS_Store b/GoldenOwl.app/.DS_Store deleted file mode 100644 index 49fb028867b7d18fea7df528f34295ed53d99479..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeHK!A=`75Vb=HPO6F=kjQZ_+&E+bH7BGcq=(#)7SRJBvYSnll{V`r*|35%Xn&*q z8^nn(;KaAku{}WzX^V0}sGX6D$bjN{{j%0$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIhYCu0iY;W;207T z1e9Qe=wPV8s%TVjGz3ONU^E0qLtr!nMnhmU1V%$(Gz3ONU^E0qLtr!ns2l>ojwq-z z3ITE<8JWcjMXAO4rA5i93TgR8*$SC?C8>EOnfZB%IXRUIIjLzS3Q0MMdD+0OE==1{ PrcwP5_lXRH-2eXo=JOoa diff --git a/GoldenOwl.app/config/._DBPAss b/GoldenOwl.app/config/._DBPAss deleted file mode 100644 index 55b0ede2416a9e74b014cc2a988f8230c2adb6f3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wMg?WDB5a0m{L|rIPb=^%4sTa#Hnj5{pYpi&Ill5=&B*1A;+%RtH>90MW00EYk+j zqhK@yMnhmU1V%$(Gz3ONU^E0qLtr!nMnhmU1V%$(Gz4&k0I0JG!eAg5l95@gP?TDn zUs{x$s*sjnl&z4NSCX1nl9`{En3GefkdvBLqL7r6n3oOg3qy4cX$sZBh E05Qob$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wMg?WDB5a0m{L|rIPb=^%4sTa#Hnj5{pYpi&Ill5=&B*1A;+%`U0*efas0ft!5y4 z6pV(zXb6mkz-S1JhQMeDjE2By2#kinXb6mkz-S1Jh5)V*0ChG&7!2e>GBS%5ic*X7 zON)|I71HvHvK2D(N>cMmGV}8ib8;#ba#GVu6q0fh^Rj_`VW_SlO`-Z9?iCpZx&QwG DgB&T0 diff --git a/GoldenOwl.app/config/._ipserver b/GoldenOwl.app/config/._ipserver deleted file mode 100644 index ed574de5212f18e7c8874032a27ce2387500a465..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIUt(=a103v0xDsI z=wMg?WDB5a0m{L|rIPb=^%4sTa#Hnj5{pYpi&Ill5=&B*1A;+%-q~MI0MSYYpFu7f z1*0J_8UmvsFd71*Aut*OqaiRF0;3@?8UmvsFd71*A%HUkK%Gqx1_QZ}jLc$%qSWI2 z(xT*4g|z&lY=z9clGMDC%>2B>oSaI9oYb@ug`}Lsylh}!7^-VXQ>gxjdqsvp?*D%P DVFoFy 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 .