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.
strict_trans_tables modu kapatma.
6
●302
- Kabul Edilen Cevap
- 0 Beğeni
-
- 06-08-2023, 04:39:43To disable MySQL Strict Mode:burifl adlı üyeden alıntı: mesajı görüntüle
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:15Misafir 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 - 06-08-2023, 04:48:53olabilir servera restart at dene biburifl adlı üyeden alıntı: mesajı görüntüle
- 06-08-2023, 04:49:42Bu cevap, konu sahibi tarafından kabul edilebilir bir cevap olarak işaretlendi.Kaş düzeltirken göz çıkarmayalım.burifl adlı üyeden alıntı: mesajı görüntüle
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:02Misafir adlı üyeden alıntı: mesajı görüntüle
Cok tesekkürler sorun giderilmistir. Allah razi olsun. Kolay gelsin, iyi forumlar.