OpenWrt Forum Archive

Topic: connet to mysql failed

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,guys:
      I code a client to connet mysql databsewith the api  mysql_real_connect .when i compile the client on ubuntu  it's ok ,but it failed for  openwrt.
here is the error info : "2002: Can't connect to local MySQL server through socket '/tmp' (111)"



Any Sugestion would be nice.
thanks

Be so kind not to double post this support request.

The discussion might have continued from here.