mysql warning:  maximum includerecursion level was reached

Posted on 2014-07-11
Last Modified: 2014-11-04
  I install mysql on Linux and can login but I see a warning  and I am not sure how to resolve it.

Warning: skipping '!includedir /etc/mysql' directive as maximum includerecursion level was reached in file /etc/mysql/my.cnf at line 142

Open in new window

line 142 in my.cnf is
!includedir /etc/mysql

Open in new window

Thanks for your help
Question by:SiemensSEN
    1 Comment
    LVL 7

    Accepted Solution

    This occurs because the include command tries to include itself since your my.cnf is in the same directory as the include directory line.

    Usually you should have something like :
    !includedir /etc/mysql/conf.d

    With specifig configuration files located into that conf.d directory

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (…
    Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now