Im trying to install my Admin Panel, but i always get that error. I tripled check the username, database name and password, all of them are good, but for some reason, the user doesnt have the rights to write or something…
Every hosting account has one database user that has access to all your databases.
But that user can only access the contents of the databases. It cannot create new databases, users, or change permissions, so there is no “grant” ability.
The message “Could not connect to the database” could mean anything. Is there any more details you can get from your application as to why it cannot connect to the database?
But the flow is, after uploading the files, the admin panel installer should appear right when you enter the URL. So something is wrong in this webhost
Oh, and i forgot to mention that, when you see the installation wizzard on the website, it will create your database. If you said it cannot create new databases, i should first insert the SQL tables and content into the database? Which is pretty hard cause idk what changes apply that installer
Oooh okay, thank you, so i found the issue: Warning : require(/home/vol13_5/infinityfree.com/if0_38573136/htdocs/vendor/composer/autoload_static.php): Failed to open stream: No such file or directory
But the thing is, when i upload that file with Filezilla, it is disappearing instantly
A HTTP ERROR 500 just means your PHP code crashed. Please try enabling display_errors to try and see if you can get a real error message.
99%+ of all website software doesn’t need to create databases. You can just create the database beforehand using whatever tools you want, and then tell the website software to use that database.
So it seems very unlikely to me that your website software needs that ability.
If you do, copying over your local database is a good workaround. But again, I would be surprised if it was necessary.
All I have seen so far is a vague error message generated by your website software, and website software outright crashing. It could indeed be caused by a hosting issue, but it’s just as likely to be a problem with your website software, or your configuration. But as long as I have no idea why you get these errors, I cannot point fingers to anything.
Warning : require(/home/vol13_5/infinityfree.com/if0_38573136/htdocs/vendor/composer/autoload_static.php): Failed to open stream: No such file or directory
But the thing is, when i upload that file with Filezilla, it is disappearing instantly