It sounds as if you didn't compile in mysql support with you php executable. You can 
check this using the phpinfo() function. If you are using the cgi only, try something 
like...

'php -q -i | grep configure'

This will show you all the configuration options you selected when 
compiling/installing php. There will be some html junk you'll have to sift through, 
but you should be able to see it. 

As for showing the db's, try mysqlshow. If you want to see the tables in a db, 
mysqlshow db_name. If you want to see the info for one table in a db, mysqlshow 
db_name table_name. 

Later on,
Big Din KR (Terrence :-|)

----- Original Message -----
From: David Grant <[EMAIL PROTECTED]>
Date: 02 Jun 2002 23:50:53 -0700
To: My SQL Mailing List <[EMAIL PROTECTED]>
Subject: mysql not supporting php.


> 
> "mysql support is not available to php on this server"
> 
> This is the error I receive. MySQL is working fine, but I need to know
> how get php working with sql.
> 
> Also, does anyone know the command to list all the db's? thanks.
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 

    
-- 
_______________________________________________
Download the free Opera browser at http://www.opera.com/

Powered by Outblaze

---------------------------------------------------------------------
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