Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Deprecated function: mysql_connect()

anis.marb Nov 26, 2016 07:08AM EET

Deprecated function: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in bestbrand_import_sql() (line 100 of /Users/anisur/Sites/devdesktop/mtt_best-brand/profiles/bestbrand/bestbrand.profile).

if ($driver == 'mysql') {
$connection = mysql_connect($sqlserver, $user, $password);
@mysql_select_db($database, $connection);

where should I change this code?

Up 1 rated Down
More than Themes Dec 02, 2016 12:23AM EET More than Themes Agent

Hello there and thank you for contacting us.

We already know that and this will be fixed in one of our next releases. But this is related only to our installation profile and not to the whole database installation. You can continue editing your installation without any limitations as this is only a notice about a deprecated function.


Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found