• 07-10-2021, 12:28:12
    #10
    SQL Yuklediğimde bu hatayı alıyorum

    [COLOR=#000000][FONT=sans-serif][B]SQL sorgusu:[/B][/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]
    [/FONT][/COLOR]
    -- --------------------------------------------------------
    -- -- Tablo için tablo yapısı `contact` --
    CREATE TABLE `contact` ( `contact_id` int(11) NOT NULL, `contact_ad` varchar(2500) NOT NULL, `contact_mail` varchar(2500) NOT NULL, `contact_mesaj` varchar(5000) NOT NULL, `contact_tarih` date DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8
    [COLOR=#000000][FONT=sans-serif]
    [/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif][B]MySQL çıktısı: [/B][URL="http://localhost/phpmyadmin/url.php?url=https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.7%2Fen%2Ferror-messages-server.html"][IMG]http://localhost/phpmyadmin/themes/dot.gif[/IMG][/URL][/FONT][/COLOR]
    #1067 - Invalid default value for 'contact_tarih'
  • 07-10-2021, 12:49:30
    #11
    bjkrambo80 adlı üyeden alıntı: mesajı görüntüle
    SQL Yuklediğimde bu hatayı alıyorum

    [COLOR=#000000][FONT=sans-serif][B]SQL sorgusu:[/B][/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif]
    [/FONT][/COLOR]
    -- --------------------------------------------------------
    -- -- Tablo için tablo yapısı `contact` --
    CREATE TABLE `contact` ( `contact_id` int(11) NOT NULL, `contact_ad` varchar(2500) NOT NULL, `contact_mail` varchar(2500) NOT NULL, `contact_mesaj` varchar(5000) NOT NULL, `contact_tarih` date DEFAULT current_timestamp() ) ENGINE=InnoDB DEFAULT CHARSET=utf8
    [COLOR=#000000][FONT=sans-serif]
    [/FONT][/COLOR]
    [COLOR=#000000][FONT=sans-serif][B]MySQL çıktısı: [/B][URL="http://localhost/phpmyadmin/url.php?url=https%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.7%2Fen%2Ferror-messages-server.html"][IMG]http://localhost/phpmyadmin/themes/dot.gif[/IMG][/URL][/FONT][/COLOR]
    #1067 - Invalid default value for 'contact_tarih'
    Herhangi bir fatal error yok ise devam edebilirsiniz, testlerimde bir sorun çıkmadı.