close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

The mysql extension is deprecated and will be removed in the future:

Thread began 8/14/2015 11:13 am by bbgd | Last modified 10/27/2016 3:37 pm by Ray Borduin | 1130 views | 4 replies |

bbgd

The mysql extension is deprecated and will be removed in the future:

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\interPrimus_CC_2014\Connections\Interprimus.php on line 9

Which is better, MySQLi or PDO. I see you have MySQLi Extension. Is it hard to deal with?

One other thing. When I go to the LogIn page onmy computer I get that error C:\xampp\htdocs\interPrimus_CC_2014\Connections\Interprimus.php on line 9. I attache the InterPrimus.php file in the connection directory. The passowr and username are correct

Sign in to reply to this post

Ray BorduinWebAssist

That is not an error, it is a warning. You can turn off warnings in your php.ini file and it will go away. That is probably the best solution for now.

Both PDO and MySQLi are good solutions. I've researched both and decided I liked MySQLi for our extensions.

Sign in to reply to this post
Did this help? Tips are appreciated...

bbgd

Thanks

Sign in to reply to this post

ron.haysbert231945

MySQLi

I have the same error message
Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\interPrimus_CC_2014\Connections\Interprimus.php on line 9
And I read your reply, I turn off the error message in php.ini file but it still appears. I attached my php.ini file which lines need to be turned off.
Thanks

Sign in to reply to this post

Ray BorduinWebAssist

The php.ini file appears blank. If you are getting that message it means that you didn't turn off deprecated messages, which are different than errors. You should also check the result of phpinfo() to make sure the php.ini file you are updating is the one that is actually loaded. There are often a couple of them and it is easy to mix up.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...