Joomla Problem

Status
Not open for further replies.

snipesaholic

New Member
Messages
22
Reaction score
0
Points
0
I know the servers are under a lot of work but this problem has stuck with me for 4 days. I have been trying to install Joomla with all the databases setup etc. Everything is in order but it always says:

Unable to connect to the database:Could not connect to MySQL

Im on Stoli btw,
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
are you using localhost?
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
which server are you on
 

sharlaxismp

New Member
Messages
48
Reaction score
1
Points
0
You need to make a database with allowing the user to have all privileges. Make sure you've done that.
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
the issue i am seeing is Could not connect to MySQL
not access denied

[edit]
all i can say is doublecheck everything. If you can, Post your mysql connection details(except for the password) and maybe we can learn something from that
 
Last edited:

sharlaxismp

New Member
Messages
48
Reaction score
1
Points
0
Like matthew said, double check everything. I know I had a problem with my database also when I started it, but it was a typo error.
 

snipesaholic

New Member
Messages
22
Reaction score
0
Points
0
Host Name: localhost
User Name: snipes_admin
Password: XXXXXXXXXXXXXX
Database Name: snipes_jdb
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
Is the actual databased linked to the user with all permissions?
 

AngusThermopyle

Active Member
Messages
319
Reaction score
52
Points
28
Place this script ( say, foo.php ) in public_html and then run it from the web:

PHP:
DEFINE ('DB_HOST', 'localhost' );
DEFINE ('DB_USER', 'snipes_admin');
DEFINE ('DB_PASSWORD' , "secretWordHere" );
DEFINE ('DB_NAME', "snipes_jdb" );


$link = mysqli_connect(  DB_HOST , DB_USER , DB_PASSWORD , DB_NAME  );

if (!$link)
  { 

   $failure_reason =  mysqli_connect_error();
   $failure_no = mysqli_connect_errno() ;

   echo "Connection failed: $failure_reason  Error Number: $failure_no";

  } else {

   echo "Success!  Was able to connect" ;
   mysqli_close( $link ) ;
  }

See if you can do a basic connect.














Code:
 

snipesaholic

New Member
Messages
22
Reaction score
0
Points
0
Sorry im not sure if im uploading it correctly. Saved as php then uploaded to site. did not work unless im doing it wrong :S
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
OK, just go to the cPanel and go to Scriptaculous and you can install Joomla there within 5 minutes no hassle.
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
I doubt that would happen unless the mysql server is down, what is your website url... or troll
 
Status
Not open for further replies.
Top