Installing ideaspacevr in 000webhost.com and it doesn't find the database.
-
I uploaded the ideaspacevr folder to the hosting 000webhost and I started the installation but I can follow because It can't connect to the database.
I have tried de DB name and DB user with and without the id before the word but the installation can not connect to the database.
about the password, I am sure that I am writing it well.
Do you have any idea about the problem?
thank you
-
I must be similar to this post https://www.000webhost.com/forum/t/how-to-connect-to-000webhost-com-mysql-server/23165/2
You have to specify the MySQL host name as well.
MySQL Host: mysql#.000webhost.com (or similar)
MySQL User nam: a3367xxx_test (your MySQL user name)
MySQL Password: ******
-
@WeddingDJ Thank you for the information but I've not be able to connect yet.
I don't know what to write in the Database host field because I've try these: localhost, databases.000webhost.com, 000webhost.com, mynameweb.000webhost.com.
What file do I have to change the connection script?
000webhost.com says :
Manage databases at databases.000webhost.com
Use localhost as connection hostname.
-
@freseco The database connection information is stored in config/database.php
-
@WeddingDJ Thank you for the info. I tried set the database connetion data in that file and now the problem is the website works but I couldn't create the admin user. Website is showing the login form.
How Could I create de admin user?
-
@freseco Yes you could create the user manually, and you will need some settings in the settings table too. Ideally you reinstall IdeaSpace with your working DB settings. If not these two files show you which values you have to insert into the user and settings DB tables:
Settings:
https://github.com/IdeaSpaceVR/IdeaSpace/blob/master/database/seeds/SettingsTableSeeder.php