Posted by:
RiggsFolly
(---.dynamic.dsl.as9105.com)
I assume you are entering the url into a browser and not double clicking on a file using Explorer?
If you are double clicking using Explorer, it wont work!
Enter something like this into the browser arrdress field
'localhost' (without the quotes), will run \wamp\www\index.php
'localhost/testmysql.php' (without the quotes), will run that script
PS: You have to change the testmysql.php script to change the dbuser and password values like so
<?php
$link = mysql_connect('hostname','root','');
if (!$link) {
die('Could not connect to MySQL: ' . mysql_error());
}
echo 'Connection OK'; mysql_close($link);
?>
Assuming you have not added a password to the root userid
---------------------------------------------------------------------------------------------
(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 --
phpMyAdminGet 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-