linux mysql-server can't find mysql_config

前端 未结 6 771
栀梦
栀梦 2021-02-08 11:12

I have a running (in production) mysql instance on my linux server (ubuntu-10.10) however I cannot find my mysql_config file.

command and output:

~$ lo         


        
6条回答
  •  野的像风
    2021-02-08 12:12

    The mysql_config executable is by default located in the bin directory of the MySQL server installation if you install it from precompiled binaries. But if you install it using apt-get it may not exist on your server.

    Try:

    sudo apt-get install libmysqlclient-dev
    

提交回复
热议问题