WebSite X5Help Center

 
Einar W.
Einar W.
User

Access the pro-hosted mysql database remotely  en

Автор: Einar W.
Просмотрено 1370, Подписчики 1, Размещенный 0  

Hello

Is it possible to access the mySql database included in the pro-hosting plan from outside?

In the docs it just reads "localhost", but I'd like to update the database from a local server at my home.

Can this be done? If so, how?

Размещено
3 Ответы - 1 Полезно
Aleksej H.
Aleksej H.
Moderator

Hello. I sent a notification about your question to the company employees, expect an answer from them here in the comments.

Читать больше
Размещено От Aleksej H.
Einar W.
Einar W.
User
Автор

Here's my Python script for connecting, from home, to the infomedia pro-hosted mySql database.

Just to make sure I have described properly what I try to achieve smile

mydb = mysql.connector.connect( 
host = "pro-hosted area",                       # I tried both the name of the pro-hosted area and the resolved IP
user = "*******",                                 # The username for my pro-hosted database
password = "*******",                          # The password for my pro-hosted database
port = 3306,                                          # The port given in the specs
database = "whatever",                          # This is optional but I tried both with and without
)

The script times out every time saying there was no response from the database (Error: 10060)

Читать больше
Размещено От Einar W.
Claudio D.
Claudio D.
Moderator
Лучший пользователь месяца IT

se vogliono localhost , il tuo script in python deve essere sull'host...

e nella configurazione devi mettere

host = "localhost",

--------------

se vuoi intanto provare così, nell'attesa di qualche info in più dallo STAFF

Читать больше
Размещено От Claudio D.