it is two pc, one pc is my pc, but second pc is remote server pc far from me, remote server is
- mandrake8.2 linux
- mysql 3.23.51
on remote server i can easly add/rem/del mysql users,db,privileges
on server side this two strings goes normally
shell>./mysqladmin -u USERNAME -p -h localhost ver
shell>./mysqladmin -u USERNAME -p -h SERVERIP ver
on server side i can check that mysqld is running
shell>./mysqladmin -u USERNAME -p ping
result will be = mysqld is alive
re>>
Are you trying to connect to local or remote server?
A:>>
on my pc i can easly connect to my mysql trough any program like delphi components, MyODBC, AdoConnection without any problems, i have xp, believe me on my os mysql is normally running, on my pc is installed virtual apache veb server and all works i think normally
re>>What code are you using to try to connect?
A:>>for example my code
-PHP--------------------------
belevie this code is taken(copied) from my server,
passsword and user adre correct...
<?
$link = mysql_connect
("159.148.144.19", "username", "userpass")
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);
?>
RESULT OF THIS SCRIPT IS
Warning: Can't connect to MySQL server
on '159.148.144.19' (10061) in v:\a_connect\connect.php3
on line 2
Warning: MySQL Connection Failed: Can't connect to MySQL
server on '159.148.144.19' (10061) in
v:\a_connect\connect.php3 on line 2
Could not connect: Can't connect to MySQL server
on '159.148.144.19' (10061)
-PHP--------------------------
next i trying to make this
IN far manager console string>mysqladmin -u USERNAME -p -h 159.148.144.19 ver
and i get the error like: check if your mysqld is running on 159.148.144.19, and also second error (10061)
re>>
Have you downloaded MySQL-Front yet?
A:>>
i dont now what is it, but i will try to download this one, you think this must help me, ok i go to look up on your link
also thanks for your help,
please send to me your questions, i will answer, maybe this helps me ?, i think
thanks,..........