INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Joomla Installation problem - Could not connect to the database ?

Joomla Installation problem - Could not connect to the database ?

Joomla Installation problem - Could not connect to the database ?

(OP)
Could not connect to the database. Connector returned number: Could not connect to MySQL.

this is using the Joomla! Web Installer which has been placed under my domain mr-manoj-kumar

and im on step 2.

i've created a database named ' D-2js9_z3 '

mysql appended a prefix to that though, cl47-d-2js9_z3

i had this problem before when i last had joomla installed (but installed in a weird way)

but i managed to figure out what was wrong- but now i cant quite remember what I did to resolve it.

whats going on here why am i seeing that message ? screenshots below

[URL=http://www.imagebam.com/image/7da426282611319][/URL]

[URL=http://www.imagebam.com/image/5e750b282611540][/URL]

[URL=http://www.imagebam.com/image/9a75a1282611617][/URL]

Also another worrying thing is - on my hosting console, ive not got a 'mysql database wizard' thing - but i do have a mysql databases icon where I can create a database with a username and a password and manage it, but when i do - i go to databases in mysql and it says 'no priviledges'.

weird.

the answer to my problem is one of the simplest ones but i dont know it - whats going on here folks ?

RE: Joomla Installation problem - Could not connect to the database ?

MySQL does not add the prefix, it is cPanel that appends your account name onto the username (and database name) so that they will be unique in the Linux user database.

The "No Privileges" error means the user account you are logged in with does not have "CREATE DATABASE" permissions.

And the "Cannot connect to database" means that it has not been created, the Db name is wrong, no permissions, wrong username/password and so on.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: Joomla Installation problem - Could not connect to the database ?

(OP)
well ive successfully installed joomla but it appears its created a folder as the same name as my domain name lol

wondering if this article might help me

http://docs.joomla.org/Moving_the_site_among_direc...

RE: Joomla Installation problem - Could not connect to the database ?

Using the cPanel or Softaculous installer is that? Because if left to it's own devices that IS what it will do.

YOU have to set the installation parameters and DELETE the directory name it will suggest creating for the scripts to be placed in

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close