Cardbeagle
-
Posts
3 -
Joined
-
Last visited
Posts posted by Cardbeagle
-
-
Got it. Thanks for your help. I missed the instructions in the appendix to create the "temp" db. Got it confused with "test" which was already there.
-
Obviously, I am a novice at this. I created a password for the root user and added another user "Rick" with a password. I changed the host in the config file from 127.0.0.1 to localhost. I saved the file s mysqli_test.php with the exact text in the example since I am not sure what needs to be changed.
<?phpmysqli_connect ('localhost','webuser', 'BroWsIng', 'temp');?>Warning: mysqli_connect(): (HY000/1045): Access denied for user 'webuser'@'localhost' (using password: YES) in C:\xampp\htdocs\mysqli_test.php on line 3
Which Php.ini File?
in PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide (4th Edition)
Posted
The appendix section on Configuring PHP discusses editing the php.ini file. The php.ini file contains this text: