• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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