Search results

  1. B

    MySQL : Connection problem

    Thank you, and sorry for not having understood before. Now I get mySql errors from other lines of the code so the connection problem is probably solved.
  2. B

    MySQL : Connection problem

    Hello, I don't understand your answer. Of course the error is : Still the same problem. I wrote my_local_host to focus your attention here. Edit : @Limewire This is set to Localhost, and this host has been activated with Cpanel for weeks. Edit : Question : How can I know, with Cpanel, what...
  3. B

    MySQL : Connection problem

    This is what I get when I respect ALL your suggestions -> zagdem_test -> port -> host ok You say I don't listen to you, but you are wrong. I did not ask questions before testing things, and I had already done what you suggested without success. Then, what do you think about the...
  4. B

    MySQL : Connection problem

    I don't think that the problem comes from the function parameters. This is another explanation I found, tell me what you think about it please. http://forums.mysql.com/read.php?11,6916,184947 Thank you very much.
  5. B

    MySQL : Connection problem

    I tried with localhost -> the same. I tried several things before posting here.
  6. B

    MySQL : Connection problem

    Hello. Sorry to "up", but I still need help. Thank you.
  7. B

    MySQL : Connection problem

    Hello. I can't use MySQL. This is my PHP code: try { $pdo_options[PDO::ATTR_ERRMODE] = PDO::ERRMODE_EXCEPTION; $bdd = new PDO('mysql:host=mysql-starka.x10hosting.com;dbname=test;post=3306','zagdem','mypassword'); $reponse = $bdd->query('SELECT pseudo, message FROM...
  8. B

    PDO non activated

    Thanks a lot.
  9. B

    PDO non activated

    Because I have this error : Lost connection to MySQL server at 'reading initial communication packet', system error: 111 I have been told it should because of PDO.
  10. B

    PDO non activated

    Hello, I would like to use PDO for MySQL, but it is not activated. I don't know if it is possible, but I have been told it is easy and free for you to do it. Thank you, Zagdem
Top