Thank you for such a nice collection of code, this is great!!!
I am installing OJS on a testing server and am having difficulty with establishing the database connection. My error occurs on
http://24.69.157.189/~ken/OJS/install.p ... tep&step=2
I use my admin user name and password for the server, the default "ojs" for the database name, leave the other boxes unchecked but still get the message. see pdf screenshot
http://24.69.157.189/~ken/ojs/error.pdf
"Sorry, an error has occurred: Unable to establish database connection."
I checked my include/db/db.mysql.inc.php file for the correct function create statement (below). It has the correct statement as per Kevin's previous post.
// create a new database
function create_db($db) {
return mysql_query("create database $db", $this->connection);
The remaining steps return the same error message. Suggestions at this time of night ... would be welcome.
I am running OSX.2.4 no updates
with stock Apache Server
with Entropy php 4.3.4
http://www.php.net/downloads.php
and MySQL 4.0.20
http://dev.mysql.com/downloads/