[CLUG] phpBB and MySQL install problem
justinf at gmail.com
Thu Jan 27 09:51:06 GMT 2005
On Wed, 26 Jan 2005 21:12:56 +0000, Peter Flynn <peter at silmaril.ie> wrote:
> On Wed, 2005-01-26 at 17:00, Michele Neylon :: Blacknight Solutions
> > Do you have mysql enabled in php?
> Where do I do that?
have you installed the mysql module for php4?
> > Can you make a simple connection to mysql via php or run something like
> > phpmyadmin ?
much simpler to just do a mysql_connect or die from a php script to
see if its working.
mysql_pconnect("$host","$user","$password" ) or die (mysql_error() );
where host,user,password are
host : where your mysql dbase is located (could be localhost )
user/password: your mysql username and password.
> I don't know what "make a simple connection to mysql via php" involves
> (bear in mind I've never had occasion to use either of them in anger :-)
> In all other systems I've installed, installing both of them just works
> as-is (presumably the RPM of one enabled the other and vice versa). I
> wasn't going to install phpmyadmin as this is the only app, but I'll
> give it a whirl.
> Thanks for the suggestions.
> Cork mailing list
> Cork at linux.ie
More information about the Cork