ผู้เขียน หัวข้อ: error แบบนี้แก้ยังไง  (อ่าน 6611 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ werachon

  • Sr. Member
  • ****
  • กระทู้: 300
  • Respect: 0
    • ดูรายละเอียด
error แบบนี้แก้ยังไง
« เมื่อ: เมษายน 17, 2008, 15:49:23 PM »
0
สวัสดีคับ ผมเป็นเจ้าหน้าที่ระบบงานคอมพิวเตอร์ รบกวนช่วยด้วยคับ มือใหม่ลองทดสอบโปรแกรมดู
พอลง mysql  แล้ว erorr แบบนี้
[root@nongpai ~]# ls
03042008              MySQL-5.1.23-0.glibc23.src.rpm
automysql5 (copy).sh  MySQL-client-5.1.22-0.glibc23.i386.rpm
#automysql5.sh#       mysqldata.sql
automysql5.sh         MySQL-server-5.1.22-0.glibc23.i386.rpm
Desktop               MySQL-server-5.1.23-0.glibc23.x86_64.rpm
install.log           MySQL-shared-compat-5.1.22-0.glibc23.i386.rpm
install.log.syslog    postgresql-8.0.7
[root@nongpai ~]# sh automysql5.sh
automysql5.sh: line 1: mysqldump: command not found
--15:15:21--  http://203.157.148.4/webboard/download/MySQL-client-5.0.37-0.i386.rpm
Connecting to 203.157.148.4:80... failed: No route to host.
--15:15:24--  http://203.157.148.4/webboard/download/MySQL-devel-5.0.37-0.i386.rpm
Connecting to 203.157.148.4:80... failed: No route to host.
--15:15:27--  http://203.157.148.4/webboard/download/MySQL-server-5.0.37-0.i386.rpm
Connecting to 203.157.148.4:80... failed: No route to host.
--15:15:30--  http://203.157.148.4/webboard/download/MySQL-server-5.0.37-0.i386.rpm
Connecting to 203.157.148.4:80... failed: No route to host.
--15:15:33--  http://203.157.148.4/webboard/download/MySQL-server-5.0.37-0.i386.rpm
Connecting to 203.157.148.4:80... failed: No route to host.
MySQL manager or server PID file could not be found!       [FAILED]
Preparing...                ########################################### [100%]
   1:MySQL-shared-compat    ########################################### [100%]
Preparing...                ########################################### [100%]
   1:MySQL-client           ########################################### [100%]
Preparing...                ########################################### [100%]
Giving mysqld a couple of seconds to exit nicely
   1:MySQL-server           ########################################### [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h nongpai.com password 'new-password'
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
Starting MySQLCouldn't find MySQL manager or server[FAILED]
Starting MySQLCouldn't find MySQL manager or server        [FAILED]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@nongpai ~]# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@nongpai ~]#

แก้ยังไง คับ ช่วยที
ขอสอบถามว่า ใช้postgresql ได้ไหมคับ พอดีมี อยู่ใน server อยู่แล้ว
มีขั้นตอนการทำอย่างไร บ้าง รบกวนอาจารย์ด้วย คับ
วีระชน พันธะ  นักเทคโนโลยีสารสนเทศ โรงพยาบาลหนองไผ่ เพชรบูรณ์
โทรศัพท์. 056-781113-4 ต่อ 130 งานประกันสุขภาพ
มือถือ. 081-2800068
HOSxP XE4 ขึ้นระบบ 22 -04 -59 Version 4.59.10.29
Master : HP ProLiant DL 380 G8  Ram 32 G
Slave : HP ProLiant DL 380 G7 Ram 22 G
ImageServer: HP ProLiant DL 380 G7 Ram 20

ออฟไลน์ thecoy

  • Hero Member
  • *****
  • กระทู้: 1,159
  • นักวิชาการคอมพิวเตอร์
  • Respect: 0
    • ดูรายละเอียด
Re: error แบบนี้แก้ยังไง
« ตอบกลับ #1 เมื่อ: เมษายน 17, 2008, 15:59:37 PM »
0
เครื่องที setup นี้ออกnet ได้หรือเป่าครับ
โรงพยาบาลรัษฎา  ตรัง
CentOS 5.5  Ram  4  GB
HOSxP V.3.54.11.2 MySQL 5.1.30

doramon

  • บุคคลทั่วไป
Re: error แบบนี้แก้ยังไง
« ตอบกลับ #2 เมื่อ: เมษายน 17, 2008, 18:27:07 PM »
0
ตรวจสอบ linux ด้วยครับว่า

1. SELinux  ปิด

2  firewall   เปิด port 3306   หรือ ปิด  หรือยังครับ


 ???

werachon  แนะนำตัวเองด้วยครับว่าจากที่ไหนครับ



ออฟไลน์ werachon

  • Sr. Member
  • ****
  • กระทู้: 300
  • Respect: 0
    • ดูรายละเอียด
Re: error แบบนี้แก้ยังไง
« ตอบกลับ #3 เมื่อ: เมษายน 18, 2008, 10:20:04 AM »
0
ผมชื่อ วีระชน พันธะ เป็น จนท.ระบบงานคอมพิวเตอร์ ของ รพ.หนองไผ่ เพชรบูรณ์ ปัจจุบัน ผมใช้ โปรแกรม HI ของอุดร อยู่ กำลังจะเปลี่ยนโปรแกรมใหม่ โดยผมมี server ใหม่แล้ว ตอนนี้เลยอยากจะนำไปทดสอบ ว่าสามารถนำเข้าข้อมูล จากโปรแกรมเดิม ได้มากแค่ไหน 

รบกวนสอบถามว่า ผมมี postgresql อยู่แล้ว สร้างฐานข้อมูล ชื่อ hos บน server แล้ว ผมจะนำฐานข้อมูลจากโปรแกรม hosxp ที่ลงเครื่องลูก ไว้ ไปใส่บน server ได้อย่างไร มีขั้นตอนใด มีคู่มือบ้างมั้ยคับ ครับ
รบกวนอีกครั้ง
วีระชน พันธะ  นักเทคโนโลยีสารสนเทศ โรงพยาบาลหนองไผ่ เพชรบูรณ์
โทรศัพท์. 056-781113-4 ต่อ 130 งานประกันสุขภาพ
มือถือ. 081-2800068
HOSxP XE4 ขึ้นระบบ 22 -04 -59 Version 4.59.10.29
Master : HP ProLiant DL 380 G8  Ram 32 G
Slave : HP ProLiant DL 380 G7 Ram 22 G
ImageServer: HP ProLiant DL 380 G7 Ram 20

doramon

  • บุคคลทั่วไป
Re: error แบบนี้แก้ยังไง
« ตอบกลับ #4 เมื่อ: เมษายน 18, 2008, 10:33:09 AM »
0
ตรวจสอบ linux ด้วยครับว่า

1. SELinux  ปิด

2  firewall   เปิด port 3306   หรือ ปิด  หรือยังครับ

ทำหรือยังครับ



จากนั้นศึกษา วิธีใช้


www.logmein.com

TeamViewer 3

« แก้ไขครั้งสุดท้าย: เมษายน 18, 2008, 11:28:28 AM โดย doraemon(saiyok) »