no mysql access by php script
Posted by: LivingThis (---.cable.dynamic.v4.ziggo.nl)
Date: April 11, 2020 01:39PM

I have installed WAMP 3.2.0
with windows 10
and mysql 8.0.18

I have set the environment vars in windows 10 for MYSQL

I have 2 users to get access to phpmyadmin
root with no password
myname with pw: test123

both give me access to the phpmyadmin panel

I have set all priviliges to these users in phpmyadmin.

the mysql console gives me access with both users : root and user : myname


root without password gives me also access by PHP script

myname + pw test123 dont give me access by php


Can anyone tell if there are settings that I still have to change and how that has to be done?

Options: ReplyQuote
Re: no mysql access by php script
Posted by: Otomatic (Moderator)
Date: April 11, 2020 01:57PM

Hi,

See Right-Click -> Help -> MariaDB-MySQL

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

Options: ReplyQuote
Re: no mysql access by php script
Posted by: LivingThis (---.cable.dynamic.v4.ziggo.nl)
Date: April 12, 2020 11:03AM

Hi

I have discovered the cause of this error.



MYSQL IS NOT THE DEFAULT DATABASE SYSTEM SINCE WAMP 3.2.0



In the Aestan menu under TOOLS I found a new feature called:

-> INVERT DBMS


clicking this switches to mysql, making it approachable for php.

Options: ReplyQuote
Re: no mysql access by php script
Posted by: Otomatic (Moderator)
Date: April 12, 2020 11:11AM

Hi,

This is exactly what is explained in the help I gave you the access procedure in my previous message.

See Right-Click -> Help -> MariaDB-MySQL

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

Options: ReplyQuote


Sorry, only registered users may post in this forum.