On Thu, 27 Jun 2002, David Talkington wrote: > Tyler Durdin wrote: > > >I have installed mySQL created a DB, configured apache and PHP properly, but > >for some reason I cannot connect to my DB through PHP. I am trying to set up > >the phpBB2 message board and it keeps telling me cannot connect to db. Do i > >need to set cetain permissions on the actual mySQL directory or some other > >directory? > > You're getting a little ahead of yourself here. Can you connect to > mysql at the command line using the same user/pass that PHP is using? If > so, then you know you have a PHP problem, not a MySQL problem.
Seconded. If you cannot get in from the command line, you probably have not started the server (safe_mysqld I think), or you didn't add the priveges to the tables in the "mysql" database. > > > My mySQL installation is a custom install not from an RPM so the > >directory is a little different than normal. Thanks. Why? How is it different? How did you build it? >From what source? Do you have that port open (I think 3306) to internal traffic in ipchains/iptables? ---------------------------------------------------------------------------- DDDD David Kramer [EMAIL PROTECTED] http://thekramers.net DK KD "To announce that there must be no criticism of the President, DKK D or that we are to stand by the President right or wrong, is not DK KD only unpatriotic and servile, but is morally treasonable to the DDDD American public." Theodore Roosevelt _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list