You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to install pterodactyl panel on Ubuntu 20.04: ERROR 1064 (42000) at line 1: 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 '-panel' at line 1
To Reproduce
Steps to reproduce the behaviour:
Run installation script
Enter all the infos
The error will happen and the script exits right after
Expected behaviour
Pterodactyl panel get installed
OS (please complete the following information):
OS: Ubuntu 20.04
Installation: panel only
More logs
Package sebastian/resource-operations is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover ||true
Discovered Package: fideloper/proxy
Discovered Package: laracasts/utilities
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: prologue/alerts
Discovered Package: spatie/laravel-fractal
Discovered Package: spatie/laravel-query-builder
Package manifest generated successfully.
57 packages you are using are looking for funding.
Use the `composer fund`command to find out more!
Application key set successfully.
* Downloaded pterodactyl panel files & installed composer dependencies!* Performing MySQL queries..
* Creating MySQL user..
* Creating database..
ERROR 1064 (42000) at line 1: 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 '-panel' at line 1
The text was updated successfully, but these errors were encountered:
I see. Because of the way we invoke the SQL queries, hyphens probably won't work. Try wiping your machine and using the default values or something like pterodactyl_panel instead.
Yes, I agree. I will keep this issue upon and we'll check if we can add a warning/allow the usage of hyphens. Thanks!
vilhelmprytz
changed the title
Error in SQL syntax - Installing panel only
Add warning that hyphens are not supported in database credentials
Dec 5, 2021
Describe the bug
When trying to install pterodactyl panel on Ubuntu 20.04:
ERROR 1064 (42000) at line 1: 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 '-panel' at line 1
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Pterodactyl panel get installed
OS (please complete the following information):
More logs
The text was updated successfully, but these errors were encountered: