zrobiłem tak jak radziliście
i zwraca mi takie dziwadło
Cytat
Access denied for user: 'xxxxxxxx@.160.8.146' (Using password: YES)
to ip jest ipikiem zewnetrznym sieci w której siedzę w kodzie na mam wpisanego numeru ip
po dodania portu 22(serwer mysql) pokazuje sie co innego
<?php
mysql_connect(\"205.209.xxx.xxx:22\", \"***\", \"***\")or die(mysql_error()); ?>
Cytat
Warning: mysql_connect(): Lost connection to MySQL server during query in c:\apache\htdocs\ehost\test.php on line 2
Lost connection to MySQL server during query
w CPanelu(resseler) jest opcja której jeszcze nie wyczaiłem
Additional MySQL Access Hosts a która mogłaby mi pomóc, może ktoś też ma gdzieś coś podobnego.
no i kawał tekstu po angielsku którego nie mogę wyczaić dokładnie.
Cytat
Enter any additional hosts (one per line) that you would like to be able to access mysql databases on this, or the remote mysql server (with the proper user/password):
Important: Users must login to their cPanel and enter the mysql manager before these additional hosts will become active! If you would like to activate them on all users account's after you have made the changes, Click Here!