Sometimes an error come out "Could not connect to database"...Why?
I've used php mambo and oracle 9 to develop a web-based application..I also used separate server for database and the system..but sometime an error occur to the database connection, its display "Could not connect to database" after submit the data..Anyone can help me out to solve this problem?
# 1 Re: Sometimes an error come out "Could not connect to database"...Why?
Never used Mambo before but what is happening is that the oci_connect php function (or Pear) is not being set with the right parameters. You just need to specify the database, username, password and database correctly before it will work. Maybe in Mambo this is done using a website interface/cms? Try searching for some database settings in there.