Hello,
I try to install the code manually on my webserver.
PHP 8.1 / Apache Webserver / DB-name and user: 83-qrcodedb
• Pointed the new subdomain to /src directory
• Created a new DB
• Filled DB credentials into config/environment.php
• Called mysubdomain/install/setup.php
Error occured:
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '83-qrcodedb' at line 1 in /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php:15 Stack trace: #0 /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php(15): mysqli->query('CREATE DATABASE...') #1 /var/www/JLutz/htdocs/QRCodeMaster/src/install/setup.php(40): Database->create_database('localhost', '83-qrcodedb', 'mysuperduperpw', '83-qrcodedb', '3306') #2 {main} thrown in /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php on line 15
Hello, I try to install the code manually on my webserver. PHP 8.1 / Apache Webserver / DB-name and user: 83-qrcodedb • Pointed the new subdomain to /src directory • Created a new DB • Filled DB credentials into config/environment.php • Called mysubdomain/install/setup.php
Error occured: Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '83-qrcodedb' at line 1 in /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php:15 Stack trace: #0 /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php(15): mysqli->query('CREATE DATABASE...') #1 /var/www/JLutz/htdocs/QRCodeMaster/src/install/setup.php(40): Database->create_database('localhost', '83-qrcodedb', 'mysuperduperpw', '83-qrcodedb', '3306') #2 {main} thrown in /var/www/JLutz/htdocs/QRCodeMaster/src/install/includes/database_class.php on line 15
Need help with this. Thx