Some fixes for ymsgui

This commit is contained in:
2026-08-17 18:59:02 +02:00
parent e43548b7fd
commit f4281020b0
2 changed files with 26 additions and 23 deletions
+5 -4
View File
@@ -95,6 +95,7 @@ Rename sample configfile config.inc-sample:
mv config.inc-sample config.inc
Open config.inc in a text editor and fill in your database details.
If you want to use local unix socket connection set host = socket.
5.3. Check file access rights for security
@@ -106,14 +107,14 @@ Configfile should be readable by webserver but not writeable.
6. Setup local GUI
Create a local database user with same name as your computer user and allow
database acces with current unix credentials:
database access with current unix credentials. E.g if your current unix user
is "ymsgui":
mysql> CREATE USER 'ymsgui'@'localhost' IDENTIFIED VIA unix_socket;
mysql> GRANT SELECT, INSERT, UPDATE, DELETE ON yms.* TO 'ymsgui'@'localhost';
Copy ymsgui.py to /usr/local/bin
Copy directory yms to /usr/local/share
Execute "install.sh" to install the software to your local operating system.
Start ymsgui.py, default configuration file is automatically created
Start "yms", default configuration file is automatically created
7. Start using YMS