1
votes

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\includes\classes\ia.core.mysql.php on line 58

Warning: mysql_connect(): Access denied for user 'lexhost'@'localhost' (using password: YES) in C:\xampp\htdocs\includes\classes\ia.core.mysql.php on line 58 Could not connect.

Is there any way to use mysqli or PDO for this?

2
Please send us your codeshurricane
This seems to be a warning. (For installation questions probably SO is not the proper site.) How to AskGábor Bakos
Is your db username and password correctly given ?Sulthan Allaudeen
Hi, this issue is fixed in the latest version of Subrion CMS. The issue is that you were trying to install it on PHP 5.5 and MySQL adapter for it is obsolete. Now it uses MySQLi by default so there should not be any issues. CheersVasily Bezruchkin

2 Answers

1
votes

The access denied warning is a basic database connection error (user, password or database is wrong). You can directly edit /includes/config.inc.php to fix your database credentials. (You may need to go into phpmyadmin to confirm settings match also.)

To fix the deprecation warning, in that same config file change:

define('INTELLI_CONNECT', 'mysql');

To:

define('INTELLI_CONNECT', 'mysqli');

That will get rid of the mysql deprecated warnings and be more secure.

0
votes

Thanks Guys I figured out my mistake (Noob). I did not create the databases before registering Db-name, user & password, Sorry for the hassle. Thanks again