I'm trying to set up MySQL with MATLAB with no success. I downloaded EasyPHP 220.127.116.11 and I created a simple database named 'mydata'. I also enabled the php_pdo_odbc in PHP extensions. For the rest, I let the default settings. Finally, I put my file into the \www folder with the following content:
conn = database('mydata','root','');
and this error resulted :
??? Error using ==> database.ping at 153
Error in ==> myfile at 4
I use MatlabR2010a on Windows 7, 64 bit and database toolbox version 3.7. I've tried different username such as 'root', 'localhost', '127.0.0.1' but no way to fix it. Your help is welcome.