ircmaxell wrote:
dumblonde wrote:
I successfully installed Joomla and I, too kept having this issue. It was not a Joomla issue or an issue regarding passwords, etc. (I am with hostgator), and my issue is that I get the message that there is php connection error to the MySql database (there is a similar error message with Perl).
In PHPmyAdmin, I have a "no privledges" RED message next to the "create database" menu.
I had no issues with using Joomla on my Apache server on my computer, but trying to load Joomla on a web server seems to be another issue.
I have contacted hostgator, and so far, all they have been able to do is submit a trouble ticket to try to fix this. I did have them upgrade php to 5.2.2. from 4.4.4, so no idea if that is the problem.
The customer service guy on the phone had the same issue...I will post if/when this gets resolved.
...................................................
I have to say, that I am not completely convinced that I love Joomla. I still don't see how I will be able to make my web pages look and perform how I want. I like more control and flexibility...we will see. I am a COMPLETE newbie, but used to using CSS and Dreamweaver to do A LOT AND Make great looking sites that work great and are highly search able...I just need to be able to give my clients the ability to control SOME of the site....we will see....
This problem is normally a permissions issue... You can test that out by creating a new php file with the following code
Code:
<?php
$host = 'localhost';
$user = 'mysqluser';
$pass = 'mypass';
$db = 'databasename';
//Don't change below here
$conn = mysql_connect($host, $user, $pass);
mysql_select_db($db, $conn);
echo '<hr />anything above this linebreak is BAD!';
Be sure to change the top 4 vars to be your info... If you get any errors above the outputted line, get your host involved, and show them this file...
hello..
I'm new to this forum, and this particular thread because I'm having the same problem:
If I try to install Joomla! 1.5.8, I get to step 4 and I get the error "Unable to connect to the database:Could not connect to MySQL".
I have tried several fixes.
1) I have checked and re-checked PhpMyAdmin to make sure that the MsqL5 is correctly setup,
2) that the DB was setup correctly
3) that the user was setup correctly with the correct password
4) that the DB specific privleges were granted for the user; but not Global privleges
5) I have used your previous php code and named it tester.php and run it.
The output is simply a horz line and below the line the text "anything above this linebreak is BAD!"
No other errors.
6) I have deleted the installation folder from the server, because Joomla complained that it needed to be removed before it went any further. I still get the message: "Database Error: Unable to connect to the database:Could not connect to MySQL"
The server contains web pages and files for a different web page.
I am trying to install Joomla from a subfolder...is that a problem?
I am using the Joomla Magic 1.5 tutorial package to learn this.
So far I think I've done everything correctly. It seems simple enough.
What is my next step? Should I uninstall/delete joomla from the server and delete the MSQL5 and
DB from the server and start all over again?
I have no idea what to do next.
Help!
Rick (shobuz99)