LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] phpBB and MySQL install problem

[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
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell