Post by florenciapf » Tue Mar 10, 2015 9:40 am

HI!
I have this message: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u549415239/public_html/system/library/db/mysql.php on line 7

What can i do to fix it?
I hope someone can help me!

Thansk!

Newbie

Posts

Joined
Tue Mar 10, 2015 9:36 am

Post by Cue4cheap » Tue Mar 10, 2015 10:38 am

Please do a search on the forum... It provides the answer you seek.

Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by florenciapf » Tue Mar 10, 2015 6:51 pm

I didnt find it. Can you give me the link?
Thanks

Newbie

Posts

Joined
Tue Mar 10, 2015 9:36 am

Post by viethemes » Tue Mar 10, 2015 9:34 pm

You can edit the file config.php and admin/config.php,
find

Code: Select all

define('DB_DRIVER', 'mysql');
and replace with

Code: Select all

define('DB_DRIVER', 'mysqli');

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by ogun » Tue Mar 10, 2015 11:36 pm

^ that :)

but searching for "mysql extension deprecated" would've found this:
http://forum.opencart.com/viewtopic.php ... 80#p536087

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am
Who is online

Users browsing this forum: Baidu [Spider] and 102 guests