0

I have an ip of host where glpi database is installed. I have to make a mysql request to get data from glpi database.

I have also a login and a password.

The basic command like this

mysql -h 192.168.1.145 -p

gave me an error

ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.1.145' (110 
"Connection timed out")

What is wrong?

0

Use this command:

mysql -h xxx.xxx.x.xx -u username -p 

where xxx.xxx.x.xx = your ip address;

Then

show databases;
use glpi;
show tables;

You will have an access of all tables of glpi BD.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.