Infamous database connection message – .Net server, others using successfully
-
I’ll preface this by saying, I’m gutsy & willing to try. Following the 5 minute install directions was one thing. I don’t have any idea what I’m doing at this point. :p
I’m on a .Net server with no apache module. I have php 4.4 & My SQL. Tech support told me before I began that others are using WP already and it “works fine”. Seekdotnet.com anyone? (I guess my one big question is what problems will the lack of apache module cause should I ever get the thing installed?)
When I created the database, I had no option anywhere on the CoPanel for giving all permissions or deleting a user or password. I logged into the database/php admin (To which I have little idea what I looked at. I might be able to do it manually if walked through it…) but didn’t see a place to change the user setting for the uninformed. I wrote tech support about as deleting & adding the same user like I saw for a suggestion elsewhere in support, but let’s just say they ignore certain things they don’t want to deal with, especially if they might have to explain something. {sigh}
The username & password are correct because I logged into the database admin(?). The tech would have said something if the others were wrong.
I sent tech support the code snipet with the db/username/etc info & link.
“I have enabled the error display on the server, so you can try to debug the installation file. It seems that there are something wrong with line 44 in the wp-db.php file. We will investigae it further.”
I don’t have a clue what to do with error display. :p But I do know that since he turned on the error display, the WP “can’t connect to db” page now displays my db name, username AND password appear in string across the top of the page. Charming indeed.
The code lines reference by tech support are as follows:
41) // DB Constructor – connects to the server and selects a database
42) function wpdb($dbuser, $dbpassword, $dbname, $dbhost) {
43) $this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);
44) if (!$this->dbh) {
$this->bail(“Is it hopeless??
Should I give up now & pay them the $20 bucks to set it up or is there a chance I can get it working without too much agony & a bit of help? (Too much of course being a very subjective phrase. ?? )
Many thanks!
- The topic ‘Infamous database connection message – .Net server, others using successfully’ is closed to new replies.