Jump to content
Larry Ullman's Book Forums

Cardbeagle

Members
  • Posts

    3
  • Joined

  • Last visited

Cardbeagle's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. The appendix section on Configuring PHP discusses editing the php.ini file. The php.ini file contains this text: PHP comes packaged with two INI files. One that is recommended to be used ; in production environments and one that is recommended to be used in ; development environments. Do you recommend editing php.ini or using the php.ini-development file and if so, how do we connect to it?
  2. 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.
  3. 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. <?php mysqli_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
×
×
  • Create New...