If i type in localhost:80 the website appears as it should
however when i click on phpMyAdmin the browser window just goes blank
The lecturer has wanted us to go into phpMyAdmin and change the password of the root user to “COM810” which is the module code - easy to remember
When that got changed the expected red warings appeared essentially saying cannot connect invalid settings when trying to get into phpMyAdmin
The lecture notes tell us to go into a file and change some settings. The file is located in
/Applications/XAMPP/xamppfiles/phpmyadmin
the file we had to change is config.inc.php
Quoting the main area that was changed, in its original state was:
/**
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Then after making the requested changes that same part was:
/**
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = ‘cookie’;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'COM810’;
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
I saved the file, and restarted the servers in XAMPP, then typed in localhost:80 into chrome
The homepage opens fine in chrome, but when i go to click on phpMyAdmin the browser window just goes blank. I have no error logs as such to even get a clue as to what could be going on.
Ive spent the past few hours at this, if i uninstall XAMPP and reinstall it, it seems to let me back into phpMyAdmin but the lecturer wants us to change the password, and presumably expects there to be some hassle as we have been left with the task. The only downside is most of the notes provided focus on setting up XAMPP on a PC rather than a Mac.
Any help would be greatly appreciated, its my first day at this module so apologies for being a total newbie to the subject.
Regarding the system/version information:
XAMPP version 8.1.12-0
Mac version - Ventura 13.2.1 - Running on a 2019 MBP with an intel i9 processor.