{"id":987,"date":"2015-05-15T13:14:24","date_gmt":"2015-05-15T10:14:24","guid":{"rendered":"http:\/\/sahinsolmaz.com\/blog\/?p=987"},"modified":"2015-08-20T18:55:45","modified_gmt":"2015-08-20T15:55:45","slug":"solved-error-1153-08s01-at-line-4147-got-a-packet-bigger-than-max_allowed_packet-bytes","status":"publish","type":"post","link":"https:\/\/sahinsolmaz.com\/blog\/solved-error-1153-08s01-at-line-4147-got-a-packet-bigger-than-max_allowed_packet-bytes\/","title":{"rendered":"SOLVED &#8211; ERROR 1153 (08S01) at line 4147: Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes"},"content":{"rendered":"<p>Bir gece yaras\u0131 mysql veritaban\u0131n\u0131 import etmek istedi\u011finizde: <strong>ERROR 1153 (08S01) at line 4147: Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes <\/strong>hatas\u0131 ile kar\u015f\u0131la\u015f\u0131rsan\u0131z 1.se\u00e7enekteki d\u00f6rt ad\u0131m\u0131 uygulayarak bu s\u0131k\u0131nt\u0131dan kal\u0131c\u0131 olarak kurtulabilirsiniz veyahut <strong>&#8216;max_allowed_packet&#8217; bytes<\/strong> hatas\u0131n\u0131 anl\u0131k olarak ge\u00e7mek isterseniz 2. se\u00e7enekteki ssh komutunu uygulayabilirsiniz.<\/p>\n<p>Ben <strong>MySQL<\/strong> dosyas\u0131n\u0131, <strong>SSH<\/strong> \u00fczerinden import ederken kar\u015f\u0131la\u015ft\u0131m bu hatayla lakin problemin kayna\u011f\u0131 ayn\u0131 oldu\u011fu i\u00e7in siz <strong>PhpMyadmin<\/strong> \u00fczerinden i\u00e7e aktar yaparken de kar\u015f\u0131la\u015fabilirsiniz bu hatayla.<\/p>\n<p>&#8230;bla bla.. if you recieve the <strong>&#8216;max_allowed_packet&#8217; bytes<\/strong> error. You can apply 1. solition. or You can apply alternative ssh (temporary) solution temporary<!--more--><\/p>\n<ol>\n<li>open the <span style=\"color: #0000ff;\"><strong>\/etc\/my.cnf <\/strong><\/span>file<br \/>\n(WinSCP or SSH vi )<\/li>\n<li><strong><span style=\"color: #0000ff;\">max_allowed_packet = 10000000;<\/span><br \/>\nmax_allowed_packet<\/strong> update or add \/\/g\u00fcncelleyin ya da ekleyin.<strong><br \/>\n<\/strong><\/li>\n<li><span style=\"color: #0000ff;\"><strong>service mysqld restart<\/strong><\/span><br \/>\n(SSH or Server Control Panel.)<\/li>\n<li><strong><span style=\"color: #0000ff;\">\u00a0mysql -u UserName -p DBname &lt; YourDB.sql<\/span><\/strong><br \/>\nSSH or PhpMyadmin<\/li>\n<\/ol>\n<p><strong>\u00a0<\/strong>Alternative solution:<\/p>\n<ul>\n<li><span style=\"color: #0000ff;\"><strong>mysql &#8211;max_allowed_packet=1000000000 -u UserName -p DBname &lt; YourDB.sql<\/strong><\/span><\/li>\n<\/ul>\n<p>Good Luck!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bir gece yaras\u0131 mysql veritaban\u0131n\u0131 import etmek istedi\u011finizde: ERROR 1153 (08S01) at line 4147: Got a packet bigger than &#8216;max_allowed_packet&#8217; bytes hatas\u0131 ile kar\u015f\u0131la\u015f\u0131rsan\u0131z 1.se\u00e7enekteki d\u00f6rt ad\u0131m\u0131 uygulayarak bu s\u0131k\u0131nt\u0131dan kal\u0131c\u0131 olarak kurtulabilirsiniz veyahut &#8216;max_allowed_packet&#8217; bytes hatas\u0131n\u0131 anl\u0131k olarak ge\u00e7mek isterseniz 2. se\u00e7enekteki ssh komutunu uygulayabilirsiniz. Ben MySQL dosyas\u0131n\u0131, SSH \u00fczerinden import ederken kar\u015f\u0131la\u015ft\u0131m bu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[137,46,43],"tags":[520,521],"class_list":["post-987","post","type-post","status-publish","format-standard","hentry","category-mysql","category-ssh","category-sunucu","tag-max_allowed_packet-bytes","tag-got-a-packet-bigger-than-max_allowed_packet-bytes"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4sbm9-fV","jetpack-related-posts":[{"id":403,"url":"https:\/\/sahinsolmaz.com\/blog\/cozuldusolved-mysql-innodb-error-cannot-allocate-3154744384-bytes\/","url_meta":{"origin":987,"position":0},"title":"\u00c7\u00f6z\u00fcld\u00fc\/Solved -MySQL InnoDB: Error Cannot Allocate 3154744384 bytes","author":"SahinSOLMAZ","date":"31 Mart 2014","format":false,"excerpt":"InnoDB: Error: cannot allocate 3145744384 bytes of\u00a0InnoDB: memory with malloc! Total allocated memory \u00c7\u00d6Z\u00dcLD\u00dc \/ SOLVED innodb_buffer_pool_size=2G","rel":"","context":"&quot;Genel&quot; i\u00e7inde","block_context":{"text":"Genel","link":"https:\/\/sahinsolmaz.com\/blog\/category\/genel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":435,"url":"https:\/\/sahinsolmaz.com\/blog\/ssh-ile-mysql-dosyasini-iceri-aktarmak-importing-mysql-databases-via-ssh\/","url_meta":{"origin":987,"position":1},"title":"SSH ile MySQL Dosyas\u0131n\u0131 \u0130\u00e7eri Aktarmak-Importing MySQL Databases via SSH","author":"SahinSOLMAZ","date":"20 Mart 2014","format":false,"excerpt":"Sunucunuzda y\u00f6netim paneli (cPanel, Plesk panel vb.) kullanm\u0131yor olabilirsiniz dolay\u0131s\u0131 ile phpMyAdmin\u00a0eri\u015fimiz de olmayacakt\u0131r\u00a0ya da y\u00fcklemek istedi\u011finiz .sql\u00a0veritaban\u0131\u00a0dosyan\u0131z\u0131n boyutu b\u00fcy\u00fck oldu\u011fu i\u00e7in time-out, bir tak\u0131m problemler ya\u015fayabilirsiniz bu ve benzeri durumlarda ssh\u00a0\u00fczerinden veritaban\u0131 dosyan\u0131z\u0131 kolayl\u0131kla import edebilirsiniz. Servers without a control panel (such as cPanel, Plesk, or Simple Control Panel)\u2026","rel":"","context":"&quot;SSH&quot; i\u00e7inde","block_context":{"text":"SSH","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/ssh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":860,"url":"https:\/\/sahinsolmaz.com\/blog\/mysql-tuning-veritabani-optimizasyonu-ile-sunucu-performansinizi-yukseltin\/","url_meta":{"origin":987,"position":2},"title":"MySQL Tuning Veritaban\u0131 Optimizasyonu ile Sunucu Performans\u0131n\u0131z\u0131 Y\u00fckseltin!","author":"SahinSOLMAZ","date":"17 Aral\u0131k 2014","format":false,"excerpt":"MySQL Tuning database\/veritaban\u0131 optimizasyonu ile sunucu performans\u0131n\u0131z\u0131 y\u00fckseltebilirsiniz. Bunun i\u00e7in yapman\u0131z gereken en pratik yol\u00a0Mysql Tuning yaz\u0131l\u0131m\u0131n\u0131n kurulumu ve \u00e7al\u0131\u015ft\u0131r\u0131lmas\u0131 neticesinde size belirtti\u011fi ayarlar\u0131 my.cnf\u00a0\u00fczerinden\u00a0g\u00fcncellemektir. MySQL Tuning Script'i ile\u00a0veritaban\u0131 performans\u0131n\u0131z\u0131 detayl\u0131 olarak inceleyebilir, rahatl\u0131kla sunucu performans\u0131n\u0131z\u0131 artt\u0131rabilirsiniz. Script Ad\u0131:\u00a0tuning-primer.sh Kaynak:\u00a0 http:\/\/day32.com\/MySQL\/ Direkt\u00a0link: http:\/\/day32.com\/MySQL\/tuning-primer.sh MySQL Tuning -\u00a0tuning-primer.sh\u00a0Nas\u0131l Kurulur? \/\/How to Install\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/12\/MySQL-Tuning-Veritaban%C4%B1-Optimizasyonu-ile-Sunucu-Performans%C4%B1n%C4%B1z%C4%B1-Y%C3%BCkseltin-MySQL-Tuning-tuning-primer_MySQL-Tuning-tuning-primer.sh-Nas%C4%B1l-Kurulur_How-to-Install-MySQL-Tuning.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/12\/MySQL-Tuning-Veritaban%C4%B1-Optimizasyonu-ile-Sunucu-Performans%C4%B1n%C4%B1z%C4%B1-Y%C3%BCkseltin-MySQL-Tuning-tuning-primer_MySQL-Tuning-tuning-primer.sh-Nas%C4%B1l-Kurulur_How-to-Install-MySQL-Tuning.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/12\/MySQL-Tuning-Veritaban%C4%B1-Optimizasyonu-ile-Sunucu-Performans%C4%B1n%C4%B1z%C4%B1-Y%C3%BCkseltin-MySQL-Tuning-tuning-primer_MySQL-Tuning-tuning-primer.sh-Nas%C4%B1l-Kurulur_How-to-Install-MySQL-Tuning.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/12\/MySQL-Tuning-Veritaban%C4%B1-Optimizasyonu-ile-Sunucu-Performans%C4%B1n%C4%B1z%C4%B1-Y%C3%BCkseltin-MySQL-Tuning-tuning-primer_MySQL-Tuning-tuning-primer.sh-Nas%C4%B1l-Kurulur_How-to-Install-MySQL-Tuning.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":381,"url":"https:\/\/sahinsolmaz.com\/blog\/change-mysql-resetupdate-password-root-ssh-kullanici-ve-sifre-islemleri\/","url_meta":{"origin":987,"position":3},"title":"Change MySQL Reset\/Update Password  &#8211; Root  SSH &#8211;  Kullan\u0131c\u0131 ve \u015eifre \u0130\u015flemleri","author":"SahinSOLMAZ","date":"25 May\u0131s 2014","format":false,"excerpt":"1. Change root password: su - root passwd 2. Mysql root password: --> ERROR 1045 (28000): Access denied for user 'root'@'localhost' service mysqld stop mysqld_safe --skip-grant-tables & mysql -u root mysql> mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD ('yournewpassword') WHERE User='root'; mysql> FLUSH PRIVILEGES; mysql> quit; service\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":401,"url":"https:\/\/sahinsolmaz.com\/blog\/mysql-stop-start-restart-unrecognized-service-error-solved\/","url_meta":{"origin":987,"position":4},"title":"MySQL &#8211; Stop, Start, ReStart Unrecognized Service Error Solved","author":"SahinSOLMAZ","date":"24 Mart 2014","format":false,"excerpt":"MySQL - Stop, Start, ReStart Unrecognized Service Error Solved mysql: unrecognized service [root@srv mysql]# service mysql stop mysql: unrecognized service [root@srv mysql]# service mysql restart mysql: unrecognized service [root@srv mysql]# service mysql restart mysql: unrecognized service \u00c7\u00d6Z\u00dcM \/ SOLVED: [root@srv mysql]# cd \/var\/lib\/mysql [root@srv mysql]# adduser mysql adduser: user mysql\u2026","rel":"","context":"&quot;Genel&quot; i\u00e7inde","block_context":{"text":"Genel","link":"https:\/\/sahinsolmaz.com\/blog\/category\/genel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":432,"url":"https:\/\/sahinsolmaz.com\/blog\/change-mysql-root-password-mysql-root-sifresini-guncellemek\/","url_meta":{"origin":987,"position":5},"title":"Change MySQL Root Password &#8211; MySQL Root \u015eifresini G\u00fcncellemek","author":"SahinSOLMAZ","date":"20 Mart 2014","format":false,"excerpt":"Merhabalar, MySQL root \u015fifresini g\u00fcncellemeniz gerekirse, a\u015fa\u011f\u0131daki ssh\u00a0komutlar\u0131n\u0131 kullanman\u0131z yeterli olacakt\u0131r. Login ssh, type mysqladmin. A tip if you can not remember mysql password type \u00a0 mysql -uadmin -p`cat \/etc\/psa\/.psa.shadow` mysql> USE mysql; mysql> SELECT * FROM user; mysql> SET PASSWORD FOR 'username'@'hostname' = PASSWORD('password_here'); mysql> FLUSH PRIVILEGES; How to\u2026","rel":"","context":"&quot;SSH&quot; i\u00e7inde","block_context":{"text":"SSH","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/ssh\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/comments?post=987"}],"version-history":[{"count":8,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/987\/revisions"}],"predecessor-version":[{"id":1093,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/987\/revisions\/1093"}],"wp:attachment":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/media?parent=987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/categories?post=987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/tags?post=987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}