[CLUG] phpBB and MySQL install problem
justin flavin
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
> wrote:
> > Do you have mysql enabled in php?
>
> Where do I do that?
have you installed the mysql module for php4?
apt-get php4-mysql
> > 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.
like this
test.php:
<?
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.
>
> ///Peter
>
> _______________________________________________
> Cork mailing list
> Cork at linux.ie
> http://www.linux.ie/mailman/listinfo/cork
>
More information about the Cork
mailing list