עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHPMYADMIN לא מצליח להתחבר קוד שגיאה: 2002

Featured Replies

פורסם

שלום,

אני מנסה להתחבר באמצעות phpmyadmin לשרת mysql.

שרת ה-web ושרת ה-mysql הם שני שרתים נפרדים!

אני כן מצליח להתחבר מהשרת web עצמו (בפקודה mysql -u root -p -h IPADDR) לשרת mysql

אבל דרך הממשק של phpmyadmin אני מקבל כאמור שגיאה 2002.

אני לא יודע אם יש משהו שאני צריך להגדיר ב-php.ini אבל אני אשמח מאוד לעזרה.

שני השרתים הם שרתי לינוקס redhat.

תודה לעוזרים

עריכה----

שכחתי- קובץ ה-config.inc.php שלי נראה בגדול ככה:


<?php
$cfg['blowfish_secret'] = "קוד כלשהו";
$i = 0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = 'myserver ip-address';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>

נערך על-ידי gkman

פורסם
  • מחבר

זה כן קשור לדיון השני שפתחתי-

עכשיו מתברר לי שכנראה זה נגרם ממנו.

למרות שזה מוזר לי שאני עדיין מצליח להתחבר לDB למרות שהסרוויס למטה. איך זה הגיוני?

בכל מקרה אני יעדכן בהמשך אם מתקדם משהו..

פורסם

חפש האם יש פרוססים של mysqld למעלה באוויר (אולי זה הסיבה שהשרות לא מצליח לעלות).

פורסם
  • מחבר

טוב- הצלחתי לפתור את הבעיה מהדיון השני- הסרוויס למעלה ועובד :D

ובעזרת הthread בקישור: http://www.linuxquestions.org/questions/programming-9/connecting-php-to-remote-mysql-server-493562/

הצלחתי גם לאפשר גישה לשרת mysql.

הבעיה עכשיו שזה רוצה שאני אשדרג את mysqlל לגרסה 5.5 :kopfpatsch::pissed:

נערך על-ידי gkman

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.