Jump to content
  • 0

cant use custom mysql DNS


moraru

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  08/27/14
  • Last Seen:  

inter_athena:

 

// Global SQL settings
// overridden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: mysql.nixiweb.com
sql.db_port: 3306
sql.db_username: u492019762_test
sql.db_password: test
sql.db_database: u492019762_test
sql.codepage:

// MySQL Character SQL server
char_server_ip: mysql.nixiweb.com
char_server_port: 3306
char_server_id: u492019762_test
char_server_pw: test
char_server_db: u492019762_test

// MySQL Map SQL Server
map_server_ip: mysql.nixiweb.com
map_server_port: 3306
map_server_id: u492019762_test
map_server_pw: test
map_server_db: u492019762_test

// MySQL Log SQL Database
log_db_ip: mysql.nixiweb.com
log_db_port: 3306
log_db_id: u492019762_logs
log_db_pw: test
log_db_db: u492019762_logs
log_codepage:
log_login_db: loginlog

 

 

I need to move all db and web from vps to some other host, fluxCP works well but server fails to conect to mysql.nixiweb.com, is not a rong pass or user error it just cant conect to the DNS.All my other php projects works well with nixiweb.com

 

any advice please

 

 

post-28566-0-20240000-1412879956_thumb.png

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

i believe you are hosting the MySQL db server on 000webhost.com or something like that right, (idhostinger, or others). They provide the free database server and you can use it, BUT it only works on localhost. what I mean is they do not open the 3306 port.

 

If you have a MySQL Manager (MySQL Workbench, QueryBrowser, Server Administrator, or others), and ask to connect to your free MySQL server, connection will be always rejected unless you pay for the premium services.


indo?

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

are you sure the DNS is the correct one ? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  08/27/14
  • Last Seen:  

are you sure the DNS is the correct one ? 

yeah, hoster only gives non ip dns for mysql. My other php webs works well with mysql_connect('mysql.nixiweb.com', 'user', 'pass'). if with php works no know why with c# should not. maybe is rathena accepts only ip dns, no know...fluxCP works with this dns too.

Edited by moraru
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  08/27/14
  • Last Seen:  

i believe you are hosting the MySQL db server on 000webhost.com or something like that right, (idhostinger, or others). They provide the free database server and you can use it, BUT it only works on localhost. what I mean is they do not open the 3306 port.

 

If you have a MySQL Manager (MySQL Workbench, QueryBrowser, Server Administrator, or others), and ask to connect to your free MySQL server, connection will be always rejected unless you pay for the premium services.

indo?

I think your right, now I noticed that most of the web host providers including payd ones dosent allow external mysql conections and only with their internal hosting space I guess to avoid all sorts of scripts or attacks at ur database, thanks you.

Edited by moraru
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...