unknown variable 'bind-address=ip'

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I was trying to run some mysql command, but then when I run it, this happens



mysql: unknown variable 'bind-address=[ip]'


Stuff looks different in my.cnf:



[mysqld]
bind-address = [ip]
port = 3306


50-server.cnf:



[mysqld]

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

bind-address = [ip]


mysql.cnf:



[mysql]
bind-address = [ip]
port = 3306


ps -aux | grep mysql:



mysql 4171 0.7 3.1 730344 96612 ? Ssl 15:54 0:03 /usr/sbin/mysqld









share|improve this question





















  • put something like: bind-address = 127.0.0.1
    – jet
    Feb 10 at 2:40










  • @jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
    – dat tutbrus
    Feb 10 at 4:29











  • Delete that line in the file and type it by hand.
    – jet
    Feb 10 at 16:59














up vote
1
down vote

favorite












I was trying to run some mysql command, but then when I run it, this happens



mysql: unknown variable 'bind-address=[ip]'


Stuff looks different in my.cnf:



[mysqld]
bind-address = [ip]
port = 3306


50-server.cnf:



[mysqld]

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

bind-address = [ip]


mysql.cnf:



[mysql]
bind-address = [ip]
port = 3306


ps -aux | grep mysql:



mysql 4171 0.7 3.1 730344 96612 ? Ssl 15:54 0:03 /usr/sbin/mysqld









share|improve this question





















  • put something like: bind-address = 127.0.0.1
    – jet
    Feb 10 at 2:40










  • @jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
    – dat tutbrus
    Feb 10 at 4:29











  • Delete that line in the file and type it by hand.
    – jet
    Feb 10 at 16:59












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I was trying to run some mysql command, but then when I run it, this happens



mysql: unknown variable 'bind-address=[ip]'


Stuff looks different in my.cnf:



[mysqld]
bind-address = [ip]
port = 3306


50-server.cnf:



[mysqld]

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

bind-address = [ip]


mysql.cnf:



[mysql]
bind-address = [ip]
port = 3306


ps -aux | grep mysql:



mysql 4171 0.7 3.1 730344 96612 ? Ssl 15:54 0:03 /usr/sbin/mysqld









share|improve this question













I was trying to run some mysql command, but then when I run it, this happens



mysql: unknown variable 'bind-address=[ip]'


Stuff looks different in my.cnf:



[mysqld]
bind-address = [ip]
port = 3306


50-server.cnf:



[mysqld]

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

bind-address = [ip]


mysql.cnf:



[mysql]
bind-address = [ip]
port = 3306


ps -aux | grep mysql:



mysql 4171 0.7 3.1 730344 96612 ? Ssl 15:54 0:03 /usr/sbin/mysqld






mysql mariadb






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 10 at 0:03









dat tutbrus

410421




410421











  • put something like: bind-address = 127.0.0.1
    – jet
    Feb 10 at 2:40










  • @jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
    – dat tutbrus
    Feb 10 at 4:29











  • Delete that line in the file and type it by hand.
    – jet
    Feb 10 at 16:59
















  • put something like: bind-address = 127.0.0.1
    – jet
    Feb 10 at 2:40










  • @jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
    – dat tutbrus
    Feb 10 at 4:29











  • Delete that line in the file and type it by hand.
    – jet
    Feb 10 at 16:59















put something like: bind-address = 127.0.0.1
– jet
Feb 10 at 2:40




put something like: bind-address = 127.0.0.1
– jet
Feb 10 at 2:40












@jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
– dat tutbrus
Feb 10 at 4:29





@jet I already put my IP in, but the command is probably reading off of something else. [ip] is just an example, the real content has a legit IP.
– dat tutbrus
Feb 10 at 4:29













Delete that line in the file and type it by hand.
– jet
Feb 10 at 16:59




Delete that line in the file and type it by hand.
– jet
Feb 10 at 16:59










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










There is no bind-address option for mysql in MariaDB. This option is related to the daemon part mysqld.



So remove the bind-address from your [mysql] section in the mysql.cnf file.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004714%2funknown-variable-bind-address-ip%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote



    accepted










    There is no bind-address option for mysql in MariaDB. This option is related to the daemon part mysqld.



    So remove the bind-address from your [mysql] section in the mysql.cnf file.






    share|improve this answer
























      up vote
      2
      down vote



      accepted










      There is no bind-address option for mysql in MariaDB. This option is related to the daemon part mysqld.



      So remove the bind-address from your [mysql] section in the mysql.cnf file.






      share|improve this answer






















        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        There is no bind-address option for mysql in MariaDB. This option is related to the daemon part mysqld.



        So remove the bind-address from your [mysql] section in the mysql.cnf file.






        share|improve this answer












        There is no bind-address option for mysql in MariaDB. This option is related to the daemon part mysqld.



        So remove the bind-address from your [mysql] section in the mysql.cnf file.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 10 at 10:20









        Thomas

        3,29481325




        3,29481325



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004714%2funknown-variable-bind-address-ip%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491