Date: 11/05/99
- Next message: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Previous message: Chris Johnson: "RE: [PHPLIB] username => uid via URL"
- Next in thread: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Reply: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Alan Lee: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Alan Lee: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Harry Forbess: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Michael Bravo: "Re: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Shan Vosseller: "Re: [PHPLIB] Fatal error with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I just installed phplib on top of mod_php3. Regular php works, phplib
works, but it cannot link to my MySQL database. I've read through the docs,
setup the appropriate file settings, restarted apache, made sure the tables
exist in mysql, but still nothing. Here is the error that I get:
Fatal error: Call to unsupported or undefined function mysql_pconnect() in
db_mysql.inc on line 73
I verified that the user (in local.inc) is able to connect by issuing raw
sql commands.
I checked the user, host, database, password fields in local.inc and
db_mysql.inc. php.ini is set properly.
local.inc reads
class DB_Example extends DB_Sql {
var $Host = "localhost";
var $Database = "mydatabase";
var $User = "myuser";
var $Password = "mypassword";
}
I have not made any other changes to local.inc. Should there be other
changes?
Any help?
-Shan
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Previous message: Chris Johnson: "RE: [PHPLIB] username => uid via URL"
- Next in thread: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Reply: Chris Johnson: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Alan Lee: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Alan Lee: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Harry Forbess: "RE: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Michael Bravo: "Re: [PHPLIB] Fatal error with MySQL"
- Maybe reply: Shan Vosseller: "Re: [PHPLIB] Fatal error with MySQL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

