• 06-08-2023, 03:59:59
    #1
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Merhaba arkadaslar VPS / Debian , Hestia Panelinde nasil bu denilen modu kapatabilirim yardimci olabilecek birisi var mi aceba form'da? Aldigim hata(komut) sudur.

    - The sql-mode strict_trans_tables is enabled in your mysql server, please contact your host provider to disable it.


    Tesekkürler simdiden.
  • Kabul Edilen Cevap
    • 0 Beğeni
      burifl adlı üyeden alıntı: mesajı görüntüle
      Öncelikle çok tesekkürler cevabiniz için.


      icinde yoktu, sonradan ekleme yaptim su sekilde, dogrumu aceba?





      # The MariaDB configuration file
      #
      # The MariaDB/MySQL tools read configuration files in the following order:
      # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
      # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
      # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
      # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
      # 4. "~/.my.cnf" to set user-specific options.
      #
      # If the same option is defined multiple times, the last one will apply.
      #
      # One can use all long options that the program supports.
      # Run program with --help to get a list of available options and with
      # --print-defaults to see which it would actually understand and use.
      #
      # If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/

      #
      # This group is read both by the client and the server
      # use it for options that affect everything
      #
      [client-server]
      # Port or socket location where to connect
      # port = 3306
      socket = /run/mysqld/mysqld.sock

      # Import all .cnf files from configuration directory
      !includedir /etc/mysql/conf.d/
      !includedir /etc/mysql/mariadb.conf.d/
      [mysqld]
      sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREA TE_USER,NO_ENGINE_SUBSTITUTION”
      Kaş düzeltirken göz çıkarmayalım.
      Her ihtimale karşı yedek alın ardından ilgili satırı ekleyin.
      Çalışacaktır.
      Gönderdiğim yanıtta kaynak olarak resmi forumu yer alıyor.


      Bu arada bu klasörleri kontrol edin. İlgili dosya bunların altında olabilir:
      /usr/my.cnf
      /etc/my.cnf
  • 06-08-2023, 04:38:43
    #2
    Merhaba

    /etc/mysql/my.cnf açın.

    [mysqld] altına  
    sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”  ekleyin.
    Kaynak
  • 06-08-2023, 04:39:43
    #3
    burifl adlı üyeden alıntı: mesajı görüntüle
    Merhaba arkadaslar VPS / Debian , Hestia Panelinde nasil bu denilen modu kapatabilirim yardimci olabilecek birisi var mi aceba form'da? Aldigim hata(komut) sudur.

    - The sql-mode strict_trans_tables is enabled in your mysql server, please contact your host provider to disable it.


    Tesekkürler simdiden.
    To disable MySQL Strict Mode:
    1. Log in to WHM as the root user and go to Server Configuration >> Terminal.
    2. Open the MySQL configuration file using your preferred text editor (for example, nano or vi). For cPanel servers, this is the /etc/my.cnf file:
    nano -w /etc/my.cnf

    3. Edit the sql_mode setting to remove the current value:
    sql_mode=

    4. Restart the MySQL service. To do this in WHM, go to Restart Services >> SQL Server (MySQL).


    denesenize hcam bi
  • 06-08-2023, 04:46:15
    #4
    Misafir adlı üyeden alıntı: mesajı görüntüle
    Merhaba

    /etc/mysql/my.cnf açın.

    [mysqld] altına  
    sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION”  ekleyin.
    Kaynak


    Öncelikle çok tesekkürler cevabiniz için.


    icinde yoktu, sonradan ekleme yaptim su sekilde, dogrumu aceba?





    # The MariaDB configuration file
    #
    # The MariaDB/MySQL tools read configuration files in the following order:
    # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
    # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
    # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
    # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
    # 4. "~/.my.cnf" to set user-specific options.
    #
    # If the same option is defined multiple times, the last one will apply.
    #
    # One can use all long options that the program supports.
    # Run program with --help to get a list of available options and with
    # --print-defaults to see which it would actually understand and use.
    #
    # If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/

    #
    # This group is read both by the client and the server
    # use it for options that affect everything
    #
    [client-server]
    # Port or socket location where to connect
    # port = 3306
    socket = /run/mysqld/mysqld.sock

    # Import all .cnf files from configuration directory
    !includedir /etc/mysql/conf.d/
    !includedir /etc/mysql/mariadb.conf.d/
    [mysqld]
    sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREA TE_USER,NO_ENGINE_SUBSTITUTION”
  • 06-08-2023, 04:48:53
    #5
    burifl adlı üyeden alıntı: mesajı görüntüle
    Öncelikle çok tesekkürler cevabiniz için.


    icinde yoktu, sonradan ekleme yaptim su sekilde, dogrumu aceba?





    # The MariaDB configuration file
    #
    # The MariaDB/MySQL tools read configuration files in the following order:
    # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
    # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
    # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
    # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
    # 4. "~/.my.cnf" to set user-specific options.
    #
    # If the same option is defined multiple times, the last one will apply.
    #
    # One can use all long options that the program supports.
    # Run program with --help to get a list of available options and with
    # --print-defaults to see which it would actually understand and use.
    #
    # If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/

    #
    # This group is read both by the client and the server
    # use it for options that affect everything
    #
    [client-server]
    # Port or socket location where to connect
    # port = 3306
    socket = /run/mysqld/mysqld.sock

    # Import all .cnf files from configuration directory
    !includedir /etc/mysql/conf.d/
    !includedir /etc/mysql/mariadb.conf.d/
    [mysqld]
    sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREA TE_USER,NO_ENGINE_SUBSTITUTION”
    olabilir servera restart at dene bi
  • 06-08-2023, 04:49:42
    #6
    Bu cevap, konu sahibi tarafından kabul edilebilir bir cevap olarak işaretlendi.
    burifl adlı üyeden alıntı: mesajı görüntüle
    Öncelikle çok tesekkürler cevabiniz için.


    icinde yoktu, sonradan ekleme yaptim su sekilde, dogrumu aceba?





    # The MariaDB configuration file
    #
    # The MariaDB/MySQL tools read configuration files in the following order:
    # 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
    # 1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
    # 2. "/etc/mysql/conf.d/*.cnf" to set global options.
    # 3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
    # 4. "~/.my.cnf" to set user-specific options.
    #
    # If the same option is defined multiple times, the last one will apply.
    #
    # One can use all long options that the program supports.
    # Run program with --help to get a list of available options and with
    # --print-defaults to see which it would actually understand and use.
    #
    # If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/

    #
    # This group is read both by the client and the server
    # use it for options that affect everything
    #
    [client-server]
    # Port or socket location where to connect
    # port = 3306
    socket = /run/mysqld/mysqld.sock

    # Import all .cnf files from configuration directory
    !includedir /etc/mysql/conf.d/
    !includedir /etc/mysql/mariadb.conf.d/
    [mysqld]
    sql_mode=“ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREA TE_USER,NO_ENGINE_SUBSTITUTION”
    Kaş düzeltirken göz çıkarmayalım.
    Her ihtimale karşı yedek alın ardından ilgili satırı ekleyin.
    Çalışacaktır.
    Gönderdiğim yanıtta kaynak olarak resmi forumu yer alıyor.


    Bu arada bu klasörleri kontrol edin. İlgili dosya bunların altında olabilir:
    /usr/my.cnf
    /etc/my.cnf
  • 06-08-2023, 04:55:02
    #7
    Misafir adlı üyeden alıntı: mesajı görüntüle
    Kaş düzeltirken göz çıkarmayalım.
    Her ihtimale karşı yedek alın ardından ilgili satırı ekleyin.
    Çalışacaktır.
    Gönderdiğim yanıtta kaynak olarak resmi forumu yer alıyor.


    Bu arada bu klasörleri kontrol edin. İlgili dosya bunların altında olabilir:
    /usr/my.cnf
    /etc/my.cnf

    Cok tesekkürler sorun giderilmistir. Allah razi olsun. Kolay gelsin, iyi forumlar.