Could not connect to the database. : JLIB_DATABASE_ERROR

This forum is for issues with installing Joomla! 2.5 (All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5.) on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
ben_hummer
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 09, 2012 4:49 am

Could not connect to the database. : JLIB_DATABASE_ERROR

Post by ben_hummer » Mon Jul 09, 2012 5:32 am

Hi !
I've been trying to re-install new Joomla v2.5.6 for my website. (localhost)
and there is an error message that reads "Could not connect to the database. Connector returned number: Unable to connect to the Database: JLIB_DATABASE_ERROR_CONNECT_SQLSRV"
So, I created new database name in http://localhost/phpmyadmin, but the problem has not been solved yet.

Thank you for your kind assistance in advance.
Untitled-1.png
You do not have the required permissions to view the files attached to this post.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 27233
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Could not connect to the database. : JLIB_DATABASE_ERROR

Post by imanickam » Mon Jul 09, 2012 5:55 am

You are trying to connect to SQL Server. You have to connect to MySQL Server.

Choose the appropriate option in the Database Type.

Do not provide any password as the username root does not have a password unless you have changed it.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

ben_hummer
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Mon Jul 09, 2012 4:49 am

Re: Could not connect to the database. : JLIB_DATABASE_ERROR

Post by ben_hummer » Mon Jul 09, 2012 6:16 am

imanickam wrote:You are trying to connect to SQL Server. You have to connect to MySQL Server.
Choose the appropriate option in the Database Type.
Do not provide any password as the username root does not have a password unless you have changed it.
Thank you for your quick reply. I tried MySQL server too but still having same result.

NOTE : Because of my office using only SQL Server,so I have to choose it.

[Mod Note: removed duplicate of original image ]

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 27233
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Could not connect to the database. : JLIB_DATABASE_ERROR

Post by imanickam » Mon Jul 09, 2012 6:55 am

What is your operating environment?

Are you using any software such as XAMPP or WAMP Server?

In the initial screen of the install, does it show that MySQL Server is there?
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Translations Coordination Team | Tamil (தமிழ்) Translation Team

Eegan - Support the poor and underprivileged

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14713
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: Could not connect to the database. : JLIB_DATABASE_ERROR

Post by humvee » Mon Jul 09, 2012 6:00 pm

Which version of IIS and MSSQL are you using?

Joomla 2.5.6 is not compatible with, developed for or tested on IIS6.

See the notes at the start of this forum for further information and links.

[Mod note: Moved from Installation Forum to IIS Installation Forum;]

If this is IIS7 and compatible MSSQL or above then also check with the administrator that the hostname, name, username, and password are all correct and the user has the appropriate permissions.


Locked

Return to “Joomla! 2.5 on IIS webserver”