افزایش max allowed packet
چطور میتونم max allowed packet رو افزایش بدم ؟ توی whm نمیشه تغییر داد .
پاسخ : افزایش max allowed packet
nano /etc/my.cnf
بعد این مقدار رو پیدا کنید و تغییر بدهید
بعد COntrol + X
سپس mysql را ریستارت نمایید
پاسخ : افزایش max allowed packet
پاسخ : افزایش max allowed packet
با دستور
vi /etc/my.cnf
و ویرایش را انجام دهید
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
irlogo
nano /etc/my.cnf
بعد این مقدار رو پیدا کنید و تغییر بدهید
بعد COntrol + X
سپس mysql را ریستارت نمایید
همه جا هست این آموزش فقط کپی و پست شده توی فورومها میشه بگین این قسمت کجاست و چوری با ssh میشه ویرایش کرد ؟ چون فایلی به این نام وجود نداره روی سرور
ممنون میشم دقیقتر توضیح بدین
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
konstantine
همه جا هست این آموزش فقط کپی و پست شده توی فورومها میشه بگین این قسمت کجاست و چوری با ssh میشه ویرایش کرد ؟ چون فایلی به این نام وجود نداره روی سرور
ممنون میشم دقیقتر توضیح بدین
با سلام
فایل مذکور را با دستور :
باز (اگر نباشد ایجاد میشود) کرده :
و دستور زیر اگر هست ویرایش کنید اگر نیست خودتان بنویسید :
کد:
[mysqld]
max_allowed_packet
و مقدار به آن دهید مثلا طبق زیر :
کد:
[mysqld]
max_allowed_packet = 10G
و در پایان دستور زیر را بزنید :
کد:
service mysqld restart
نکته : اگر فایل مذکور نیست موقع ایجاد اول [mysqld] را داخل فایل بنویسید.
ارادتمند سجادیه
یا حق
پاسخ : افزایش max allowed packet
ببخشید این سوال رو می کنم این دستور به چه کاری میاد ؟ چرا باید کم یا زیادش کرد ؟
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
dertgtr
ببخشید این سوال رو می کنم این دستور به چه کاری میاد ؟ چرا باید کم یا زیادش کرد ؟
با سلام
خواهش.
برای مثلا انتقال ویبولتین از سروری به سرور دیگر - سرور مقصد باید زیاد باشد تا مشکل زبان نخوره یا ...
ارادتمند سجادیه
یا حق
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط یه بنده خدا
با سلام وخسته نباشید دوست عزیز
من یک سرور خزیدم که دسترسی هم روت هم دارم فقط توی فوروم هم عرض کردم دیتابیس سیستم ویبولتین ریستور نمیشه در ssh و پیغام زیر رو میده
ERROR 1153 (08S01) at line 4176: Got a packet bigger than 'max_allowed_packet' bytes
فقط شما گفتین دستتون درد نکنه فقط من همچین فایلی نمیبینم و دستی هم ساختم و با ftp آپلود کردم به پوشه etc ولی باز مورد داره !
میشه دقیقتر بگین یا اگه وقت دارین من اطلاعات رو بدم خدمتتون خودتون چک کنید اگه واستون مقدور بود ؟؟
ممنون
همون دستور nano وقتی زده میشه اگر فایلی باشه که ویرایش میکنید اگر نبود وقتی نوشتید داخلش و در پایان دستور ctrl + X را زدید ازتون میپرسه ذخیره بکنه یا خیر و شما دستور y میزنید و فایل با همان نوشته هایی که نوشتید ایجاد میشه.
اگر مجدد سوالی بود در همان تاپیک بپرسید این سوال هم پابلیک میکنم در تاپیک شاید کس دیگه ای سوال شما رو داشته باشه.
ارادتمند سجادیه
یا حق
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
RoobinaServer
همون دستور nano وقتی زده میشه اگر فایلی باشه که ویرایش میکنید اگر نبود وقتی نوشتید داخلش و در پایان دستور ctrl + X را زدید ازتون میپرسه ذخیره بکنه یا خیر و شما دستور y میزنید و فایل با همان نوشته هایی که نوشتید ایجاد میشه.
اگر مجدد سوالی بود در همان تاپیک بپرسید این سوال هم پابلیک میکنم در تاپیک شاید کس دیگه ای سوال شما رو داشته باشه.
ارادتمند سجادیه
یا حق
میشه آموزش تصویری قرار بدین ؟؟
پاسخ : افزایش max allowed packet
من یک backup دیتابیس دارم از یک انجمن وی بیلوتاین اما زمانی که ر یستور می کنم با اینکه میگه با موفقیت ریستور شد اما در قست MYsql@databases نمایش داده نمیشه
امکان داره چون حجم max allowed packet کم تر حجم دیتابیس هست ریستور نمیشه ؟
پاسخ : افزایش max allowed packet
دوست عزیز اگر طبق راهکار دوستان عمل کنید، کار پیچیده ای در رو ندارید. خیلی ساده است و چند تا کامند بیشتر نیست.
موفق باشید.
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
tsonade
من یک backup دیتابیس دارم از یک انجمن وی بیلوتاین اما زمانی که ر یستور می کنم با اینکه میگه با موفقیت ریستور شد اما در قست MYsql@databases نمایش داده نمیشه
امکان داره چون حجم max allowed packet کم تر حجم دیتابیس هست ریستور نمیشه ؟
- -
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
payapars
4 تا مثل شماها که پیدا دیگه هیچی !!
جان ؟
اجازه نیست چند تا سوال در جهت سوال شما بپرسیم ؟
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
RoobinaServer
با سلام
فایل مذکور را با دستور :
باز (اگر نباشد ایجاد میشود) کرده :
و دستور زیر اگر هست ویرایش کنید اگر نیست خودتان بنویسید :
کد:
[mysqld]
max_allowed_packet
و مقدار به آن دهید مثلا طبق زیر :
کد:
[mysqld]
max_allowed_packet = 10G
و در پایان دستور زیر را بزنید :
کد:
service mysqld restart
نکته : اگر فایل مذکور نیست موقع ایجاد اول [mysqld] را داخل فایل بنویسید.
ارادتمند سجادیه
یا حق
من همه ی کار ها رو انجام دادم و چیزی تغییر نکرد
پاسخ : افزایش max allowed packet
مقدار post_max هم در فایل php.ini بالا ببرید و در آخر httpd را ریست کنید.
یا حق
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
RoobinaServer
مقدار post_max هم در فایل php.ini بالا ببرید و در آخر httpd را ریست کنید.
یا حق
اونم کردم 256
Warning: option 'max_allowed_packet': unsigned value 2684354560 adjusted to 2147483648
- - - Updated - - -
نقل قول:
نوشته اصلی توسط
RoobinaServer
مقدار post_max هم در فایل php.ini بالا ببرید و در آخر httpd را ریست کنید.
یا حق
مقدار Post_max رو تو قسمت PHP Configuration Editor زیاد کردم دسته دیگ؟
پاسخ : افزایش max allowed packet
چند گیگ هست فایلتون ؟ روی چند گیگ گذاشتید ؟
بگذارید روی 30 گیگ.
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
RoobinaServer
چند گیگ هست فایلتون ؟ روی چند گیگ گذاشتید ؟
بگذارید روی 30 گیگ.
کدوم؟
post_max
max_allowed_packet
------------------
حجم فایلم کمتر 10 کیلوبایته!!!!!!!!!
دیتابیس یک وردپرس هست!!
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
elipihost
کدوم؟
post_max
max_allowed_packet
------------------
حجم فایلم کمتر 10 کیلوبایته!!!!!!!!!
دیتابیس یک وردپرس هست!!
10 کیلوبایت که اصلا نیاز به این تنظیمات نداره خیلی راحت آپلود میشه :-|
نمیدونم دقیقا چه کردید. همه چی را به حالت اول هم برگردانید نباید با 10 کیلوبایت مشکلی باشه.
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
RoobinaServer
10 کیلوبایت که اصلا نیاز به این تنظیمات نداره خیلی راحت آپلود میشه :-|
نمیدونم دقیقا چه کردید. همه چی را به حالت اول هم برگردانید نباید با 10 کیلوبایت مشکلی باشه.
از کدوم قسمت ریست تنظیمات هست؟
- - - Updated - - -
فککنم زیادتغییر ایجاد کردم
ارور دیتابیس داد و الان سرور رو کلا ریست دادم و الانم ارور The connection was reset میده
خیلیخیلی ممنون میشم راهنمایی کنید
پاسخ : افزایش max allowed packet
نقل قول:
نوشته اصلی توسط
elipihost
از کدوم قسمت ریست تنظیمات هست؟
- - - Updated - - -
فککنم زیادتغییر ایجاد کردم
ارور دیتابیس داد و الان سرور رو کلا ریست دادم و الانم ارور The connection was reset میده
خیلیخیلی ممنون میشم راهنمایی کنید
پس این ارور چیه برای یک فایل 10 کیلوبایتی
نقل قول:
SQL query:
Warning: option 'max_allowed_packet': unsigned value 2684354560 adjusted to 2147483648
mysqldump: Got error: 1033: Incorrect information in file: './********/wp_comments.frm' when using LOCK TABLES
-- MySQL dump 10.13 Distrib 5.5.36, for Linux (x86_64)
--
-- Host: localhost Database: technew1_blog
-- ------------------------------------------------------
-- Server version 5.5.36-cll
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
MySQL said: https://188.40.20.155:2087/cpsess427...themes/dot.gif
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Warning: option 'max_allowed_packet': unsigned value 2684354560 adjusted to 2147' at line 1