jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0

Connecting to remote MYSQL Database

4 years 6 months ago #3322 by Karen Mansour
Thanks for reading ... totally blonde women here ... Running Worldbox Grid (Robust and Wifi configuration) - that all works fine but I would like to add the JOpenSim front end to our website.

The MySQL database (worldboxrobust) is on our own server which hosts the opensim grid, the Joomla website is on commercial shared hosting remotely from me.

I have created a MySQL user xusyou@xusyou - this user has full rights. My Hosting company has checked that they can access the databse from their end (as can I via my LAN) - but when i put the config into JOpenSim it says it cant access the databse.

I think I have done all the mods to GridCommon.ini and StandAloneCommon.ini - the databse has the presence field in it .....

Any idea ??

Thanks Karen
Attachments:

Please Log in or Create an account to join the conversation.

4 years 6 months ago - 4 years 6 months ago #3323 by djphil
Hi Karen Mansour,

Have you try database host in jopensim without http:// ?

Make sure you have:
- configured bind-address with the correct ip (without http: //) in your my.ini
- authorized access from an external ip to your robust database
- authorized access from your external ip to your user of your robust database
- allowed external connections on port 3306 in your firewall

Please Log in or Create an account to join the conversation.

4 years 6 months ago #3325 by Karen Mansour
hiya - mmmm most I have tried but not sure how to authorized access from an external ip to your robust database - surely Robust wouldnt work otherwise?? sorry never tried this before

answer 1 - yes with and without the http:// I get the same error
answer 2 - removed the bind-address in my.ini (has a # at front of it now)
answer 3 - my hosting company can access the mysql database via Telnet(??)
answer 4 - not sure how i do that
answer 5 - port 3306 is open to all

Any more ideas?

♥Karen♥

Please Log in or Create an account to join the conversation.

4 years 6 months ago #3326 by djphil
1) without http:// is is good.
2) don't remove but configure (eg: bind-address = <REMOTE_IP>)
4) with phpMyAdmin, go to User "Accounts, select" a user and clic "Edit privileges"
On tab "Connection information", you can set the "Host name".

Please Log in or Create an account to join the conversation.

4 years 6 months ago - 4 years 6 months ago #3327 by djphil
With mysql command prompt you can try;
1) For existi,g database:
mysql> update db set Host='<REMOTE_IP>' where Db='robust';
mysql> update user set Host='<REMOTE_IP>' where user='foo';
2) For new database:
mysql> CREATE DATABASE robust;
mysql> GRANT ALL ON robust.* TO foo@'<REMOTE_IP>' IDENTIFIED BY '<PASSWORD>';

Please Log in or Create an account to join the conversation.

Time to create page: 0.105 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0