BMS-HOSxP Community
HOSxP => MySQL => ข้อความที่เริ่มโดย: werachon ที่ เมษายน 17, 2008, 15:49:23 PM
-
สวัสดีคับ ผมเป็นเจ้าหน้าที่ระบบงานคอมพิวเตอร์ รบกวนช่วยด้วยคับ มือใหม่ลองทดสอบโปรแกรมดู
พอลง 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 อยู่แล้ว
มีขั้นตอนการทำอย่างไร บ้าง รบกวนอาจารย์ด้วย คับ
-
เครื่องที setup นี้ออกnet ได้หรือเป่าครับ
-
ตรวจสอบ linux ด้วยครับว่า
1. SELinux ปิด
2 firewall เปิด port 3306 หรือ ปิด หรือยังครับ
???
werachon แนะนำตัวเองด้วยครับว่าจากที่ไหนครับ
-
ผมชื่อ วีระชน พันธะ เป็น จนท.ระบบงานคอมพิวเตอร์ ของ รพ.หนองไผ่ เพชรบูรณ์ ปัจจุบัน ผมใช้ โปรแกรม HI ของอุดร อยู่ กำลังจะเปลี่ยนโปรแกรมใหม่ โดยผมมี server ใหม่แล้ว ตอนนี้เลยอยากจะนำไปทดสอบ ว่าสามารถนำเข้าข้อมูล จากโปรแกรมเดิม ได้มากแค่ไหน
รบกวนสอบถามว่า ผมมี postgresql อยู่แล้ว สร้างฐานข้อมูล ชื่อ hos บน server แล้ว ผมจะนำฐานข้อมูลจากโปรแกรม hosxp ที่ลงเครื่องลูก ไว้ ไปใส่บน server ได้อย่างไร มีขั้นตอนใด มีคู่มือบ้างมั้ยคับ ครับ
รบกวนอีกครั้ง
-
ตรวจสอบ linux ด้วยครับว่า
1. SELinux ปิด
2 firewall เปิด port 3306 หรือ ปิด หรือยังครับ
ทำหรือยังครับ
จากนั้นศึกษา วิธีใช้
www.logmein.com
TeamViewer 3