First, I am a newby to Apache/PHP etc.
I have installed XAMPP 1.1.1 on Windows XP SP3 32 bit and all appears to work fine. MySQL is running as a service, Apache and FIlezilla are not.
Mercury and Tomcat are not running. Control Panel is 3.1.0
I installed CakePHP 2.3.1 and ran the test page index.php. I have 2 warning messages related security.salt which I have not yet resolved but they do not
appear related to the basic issue. I get 4 messages showing status:
- version of PHP is 5.2.8 or higher
- tmp directory is writable
- FileEngine used for core aching
- database configuration file is present
Followed by the problem message:
- Cake is NOT able to connect to the database.
Database connection "Mysql" is missing, or could not be created.
I have searched the web with varying suggestions all appear to relate to an extension or PDO in some manner.
In my installation of XAMPP, localhost is set to point to xampp/htdocs. I cannot seem to use phpinfo.php to get more details as it is outside the localhost
directory base. (or I don't know enough to get around this). I have looked at php.ini and the following line IS include: extension=php_pdo_mysql.dll
I have seen web references to including PDO as well but also others stating PDO does not need to be included aver vers 5. something (mine is later).
The database can be accessed and data displayed using MySQL Workbench so I know it exists. MySQL reports it is using localhost:3306
My database is named TKD so I am unsure where the reference to connection "Mysql" is from.
So, my question is, can anyone suggest what the problem may be or what I do next, given my inexperience with Apache etc.
Thanks in anticipation...