<div>I installed notls-1.5.1 with db_mysql option and when I start the server I get &quot;ERROR:db_mysql:db_mysql_new_connection: driver error(2013)&quot; error.</div>
<div> </div>
<div>I&#39;m able to login to mysql server from commandline with out any problem. I even tried using the same user name specified in the opensipsrcctl file and I&#39;m able to login to mysql from command line. </div>
<div> </div>
<div>Here is the full opensips start up error:</div>
<div>Restarting opensips: opensipsListening on<br>             udp: 172.16.0.138 [172.16.0.138]:5060<br>Aliases:<br>             udp: <a href="http://sips.smithmicro.com.smsi.com:5060">sips.smithmicro.com.smsi.com:5060</a></div>

<div>Jun  5 15:42:44 [2550] INFO:core:init_tcp: using epoll_lt as the TCP io watch me                                             thod (auto detected)<br>Jun  5 15:42:44 [2552] NOTICE:core:main: version: opensips 1.5.1-notls (i386/lin                                             ux)<br>
Jun  5 15:42:44 [2552] INFO:core:main: using 64 Mb shared memory<br>Jun  5 15:42:44 [2552] INFO:core:main: using 1 Mb private memory per process<br>.<br>sips:~# Jun  5 15:42:45 [2552] NOTICE:signaling:mod_init: initializing module ..                                             .<br>
Jun  5 15:42:45 [2552] INFO:sl:mod_init: Initializing StateLess engine<br>Jun  5 15:42:45 [2552] INFO:tm:mod_init: TM - initializing...<br>Jun  5 15:42:46 [2552] INFO:maxfwd:mod_init: initializing...<br>Jun  5 15:42:46 [2552] INFO:usrloc:ul_init_locks: locks array size 512<br>
Jun  5 15:42:46 [2552] INFO:registrar:mod_init: initializing...<br>Jun  5 15:42:46 [2552] INFO:textops:mod_init: initializing...<br>Jun  5 15:42:46 [2552] INFO:xlog:mod_init: initializing...<br>Jun  5 15:42:46 [2552] INFO:acc:mod_init: initializing...<br>
Jun  5 15:42:46 [2552] INFO:auth:mod_init: initializing...<br>Jun  5 15:42:46 [2552] INFO:auth_db:mod_init: initializing...<br>Jun  5 15:42:46 [2552] NOTICE:presence:mod_init: initializing module ...<br>Jun  5 15:42:49 [2552] ERROR:db_mysql:db_mysql_new_connection: driver error(2013                                             ): Lost connection to MySQL server at &#39;reading initial communication packet&#39;, sy                                             stem error: 111<br>
Jun  5 15:42:49 [2552] ERROR:core:db_do_init: could not add connection to the po                                             ol<br>Jun  5 15:42:49 [2552] ERROR:usrloc:register_udomain: failed to open database co                                             nnection<br>
Jun  5 15:42:49 [2552] ERROR:registrar:domain_fixup: failed to register domain<br>Jun  5 15:42:49 [2552] ERROR:core:fix_actions: fixing failed (code=-1) at cfg li                                             ne 345<br>Jun  5 15:42:49 [2552] CRITICAL:core:fix_expr: fix_actions error<br>
Jun  5 15:42:49 [2552] ERROR:core:main: failed to fix configuration with err cod                                             e -1<br>Jun  5 15:42:49 [2552] NOTICE:presence:destroy: destroy module ...<br></div>
<div> </div>
<div>Please help.</div>
<div> </div>