Look, without going beyond.
This bypasses a problem with the IP address, unless you have a problem with the connection to your database from your Shaiya.
And such is the point that you can not finish your server, because of that error you have, if you follow a guide that will leave the link in the previous post maybe you can solve your problem.
And I repeat it will not go through a problem with the IP address but it is a problem with the connection to the database
Hopefully I can help and solve this.
George St-Pierre