Is the MySQL provided resp[onsive to MySQLi statements?
Posted by: jPaulB (---.cpe.net.cable.rogers.com)
Date: September 13, 2023 03:20PM

Hi Everybody,

I have a pretty basic and simple question:

Are the native MySQL version provided with WAMP also responsive to MySQLi statements?

Many Thanks,
Paul

(If I wasn't so stupid, I wouldn't have to be so persistent)

Options: ReplyQuote
Re: Is the MySQL provided resp[onsive to MySQLi statements?
Posted by: RiggsFolly (Moderator)
Date: September 13, 2023 05:23PM

YES, all of them.

Simple proof of the pudding is to TRY IT!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Is the MySQL provided resp[onsive to MySQLi statements?
Posted by: jPaulB (---.cpe.net.cable.rogers.com)
Date: September 13, 2023 06:11PM

Thank you for taking the time to answer my inquiry, Mr. Riggs.
I did try, and received a connect error:

Many Thanks,
Paul

(If I wasn't so stupid, I wouldn't have to be so persistent)

Options: ReplyQuote
Re: Is the MySQL provided resp[onsive to MySQLi statements?
Posted by: RiggsFolly (Moderator)
Date: September 13, 2023 06:55PM

Then, if you received an error, please show us what it is.

Then maybe we can help you with it!

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Is the MySQL provided resp[onsive to MySQLi statements?
Posted by: Otomatic (Moderator)
Date: September 14, 2023 09:24AM

Hi,

Connection procedures and queries via mysql or mysqli do not depend on MySQL but on PHP.

The mysql extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0.

So, since Wampserver 3.0.0 the mysqli extension is supported.

> I did try, and received a connect error:
If you receive an error, it means that your connection procedure is not correct or that the information you are giving is not the right one.

How to connect with mysqli : mysqli_connect

With Wampserver, there is a script to test the MySQL connection:
C:\wamp64\www\testmysql.php
You edit this file to put in the correct information, then launch it with :
'http://localhost/testmysql.php'

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.