• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Host name for mysql ???

T

tnobs

Guest
Hi

I want to store weather data form a weather station in my mysql database on the server. The weather software (weather display) tries to connect to the mysql databse, without any success.

It tells me:
Unknown mysql server host

What do I have to type in for hostname:
is that just the domain, where I setup the database?

host: ????
user: xxxx
password: xxxx
database_name: xxxx
table: xxxx

thanks, tnobs
 
Try the main IP address of the server. And you may also need to turn on the option to allow remote connections to the database.
 
I always thought there was a way to do it within the plesk cp, but perhaps that was before plesk 8.

That looks about right. Give it a shot and let us know.
 
oje

First I tried to use the IP for the host name, didn't work.

I opened the file
/etc/mysql/my.cnf


I was looking for the:
# bind-address = 10.10.0.1
# skip-networking

I found the bind-address line, but the skip-networking isn't there. Instead it says:
skip-external-locking

For me, it would be logical to not disable this line, since it says skip locking or?

I'm definitly not a pro on linux, and I don't want to screw the server. Maybe someone can tell me what to do?

Tnobs
 
Back
Top