Jump to content
Fórum Script Brasil
  • 0

não consigo acessar o mysql 5


inicianteemphp

Question

não consigo acessar o meu bd no mysql 5, dá erro:

Warning: mysql_connect() [function.mysql-connect]: Headers and client library minor version mismatch. Headers:50527 Library:50165 in /home/bavei/public_html/contador.php on line 2

Falha na consulta.

O codigo de acesso que estou usando é:

$conexao = mysql_connect("servidortal","bvei","bvei111");

if (!$conexao)

die ("Erro de conexão com localhost, o seguinte erro ocorreu -> ".mysql_error());

$banco = mysql_select_db("bvei",$conexao);

alguém sabe o porque do erro?

Obrigado por uma ajuda

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...