Nov 15, 2008

solve "Communications link failure" in matlab

Recently while i was working on my project in matlab. I got the following error.
Connection failed: Communications link failure

Last packet sent to the server was 0 ms ago.
??? No constructor 'com.mathworks.toolbox.database.closeTheDatabaseConnection' with matching
signature found.

After I lost 2 hrs of my time, I remembered I had gone through the same error in Hibernate/mysql.

The solution is so simple:
Just comment out the following line in my.cnf(the mysql configuration file). :)

so that it looks like this:

Finally restart the service mysql.

To know why see my earlier post:


mYsara said...

hi..may i know, where the my.cnf file located? i cannot found my.cnf file in my mysql.thanks

SATA said...

Normally you will find it in /etc directory.
But this totally depends upon how you installed Mysql.