Notifications
Clear all

problem with setup

3 Posts
2 Users
0 Reactions
981 Views
(@megaman)
Posts: 34
Trusted Member
Topic starter
 

sql db added with no problems into myPhPAdmin

unity log says     User logged in  error

admin says cant create admin or if i create it mmyself via phpadmin it says "Username and/or Password invalid"

looks like a problem in my config.php

my config.php

55.55.555.555 is my ip...

 

<?

define ("URL_ROOT", "http://55.55.555.555/lala/myCombuFolder/");

define ("GAME_DB_SERVER", "55.55.555.555");

// Database name
define ("GAME_DB_NAME", "MyName");
// User
define ("GAME_DB_USER", "MyName");
// Password
define ("GAME_DB_PASS", "MyPass");

...

 

any suggestions, please? thanks

 
Posted : 08/07/2014 9:32 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

As mentioned in the documentation URL_ROOT must be the relative path to Combu folder, so in your sample data it should be "/lala/myCombuFolder/", but your issue is most likely a problem in the connection to database. It's probably a problem of connection permissions with the username and server hostmask, I see the sample IP is the same for both MySql and web server so you could try to replace the IP with "localhost" for GAME_DB_SERVER.

PS: if you're going to use Account/AdminAccount records created manually in phpMyAdmin then remember to save the Password encrypted in MD5 else the login will fail.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 08/07/2014 10:53 am
(@megaman)
Posts: 34
Trusted Member
Topic starter
 

wow !! works!!!! thank you. 

 
Posted : 08/07/2014 11:16 am
Share: