Nicu Popovici writes:
> Hello Gurus,
> 
>  I managed to compile and link my sample file substituting mysql_init() with
> my_init() and mysql_real_connect() to mysql_connect(). I get now the following error
> 
> ----------------------
> Failed to connect to database! Error jHost 'ares.main.ro' is not allowed to connect
> to this MySQL server [nicu@ares QA]$
> 
> Any ideea why  or where to look  for an answer ?
> 
> Regards,
> Nicu
> 
> 

Hi!

The above has nothing to do with your program.

Simply, ares.main.ro has not been entered in hosts table in mysql
database. 

Read more on the `Access denied' in our manual.

The fact that there are no mysql_init and mysql_real_connect in the
library speaks that you made some problems in building it, or that you
have used some very old version.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to