แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ohhlanla

หน้า: [1]
1
จะขอตัวอย่างเอกสารโครงการเสนอสสจ.เพื่อใช้ HosXP ไ ม่ทราบว่าโรงพยาบาลไหนพอมีไฟล์เก็บไว้บ้าง  รบกวนช่วยส่งมาให้หน่อยนะคับ 

2
Development / ตารางที่เก็บ username กับpassword
« เมื่อ: กันยายน 29, 2008, 13:38:55 PM »
อยากทราบว่าตารางไหนที่ใช้เก็บ username กับ password ของผู้ใช้แต่ละคนครับ

3
MySQL / Re: login เข้าระบบไม่ได้ครับ
« เมื่อ: สิงหาคม 08, 2008, 14:54:07 PM »
 log in ได้แล้วคับ  เข้าไป set password ใหม่ในฐานข้อมูลของ user ที่ตั้งไว้  ขอบคุณคับ

4
MySQL / Re: mysql> \. /root/setup/hos.sql
« เมื่อ: สิงหาคม 08, 2008, 09:46:33 AM »
พอดีผมใจร้อน ก็เลย FTP ย้ายฐานข้อมูลเข้า server ไปแล้ว ตรงนี้ไม่ทราบว่าจะทำให้เกิดปัญหาอะไรมั๊ยครับ  :'(

5
MySQL / login เข้าระบบไม่ได้ครับ
« เมื่อ: สิงหาคม 08, 2008, 09:33:57 AM »
       ตอนแรกที่เพิ่งลงฐานข้อมูลเข้า server เสร็จ ก็ login เข้าระบบได้ ผมก็เข้าไป add user แล้วลอง log out ออกมา
    แล้วลอง login เข้าไปใหม่ คราวนี้ไม่สามารถเข้่าระบบได้เลย ไม่ว่าจะใส่ username อะไร ระบบจะบอกว่าใส่ username และ password ผิด


6
MySQL / mysql> \. /root/setup/hos.sql
« เมื่อ: สิงหาคม 07, 2008, 15:42:52 PM »
ขั้นตอนการนำข้อมูล hosxp  เข้า  server  โดยใช้คำสั่ง
mysql> \.  /root/setup/hos.sql         แล้ว enter 
-----------------------------------------------------------------
ไฟล์ hos.sql  มีอยู่แล้วเหรอคับ หรือว่าเราต้องไป copy จากที่ไหนหรือป่าว รบกวนช่วยอธิบายเพิ่มให้หน่อยนะครับ
 :'(

7
MySQL / Re: my-ram2g.cnf คืออะไรเหรอคับ
« เมื่อ: สิงหาคม 07, 2008, 15:37:23 PM »
ขอบคุณครับ

8
MySQL / my-ram2g.cnf คืออะไรเหรอคับ
« เมื่อ: สิงหาคม 07, 2008, 14:17:41 PM »
ผมติดตั้ง mysql ไปแล้วตามขั้นตอน ทีนี้ขั้นตอนต่อไปที่ให้ cp my-ram2g.cnf  /etc/my.cnf
ไฟล์ my-ram2g.cnf จะไปหาจากไหนเหรอคับ เกี่ยวข้องกับ ram ของ server เราด้วยรึป่าวคับ

9
MySQL / Re: สั่ง rpm -e mysql แล้ว error
« เมื่อ: สิงหาคม 07, 2008, 11:20:05 AM »
สั่ง rpm -ivh -ev MYSQL-5.0.45-7.el5 ได้ไหมครับ ;D

ลองทำดู มันerror ว่า
  error: open of mysql-5.0.45-7.el5 failed : No such file or directory
  D: found 0 source and 0 binary packages
  D: May free Score board((nil))

งงงงงง  :-[

10
MySQL / Re: ช่วยดู error ตอนลง mysql ให้หน่อยคับ
« เมื่อ: สิงหาคม 07, 2008, 10:39:18 AM »
ตรวจสอบแล้วปรากฏว่ามี  mysql-5.0.45-7.el5 อยู่  แต่พอสั่งลบแล้วเกิด error ขึ้นอ่ะคับ
พอดีตั้งคำถามไว้อีกกระทู้นึงแล้วคับ  ช่วยหน่อยนะคับ :'(

11
MySQL / สั่ง rpm -e mysql แล้ว error
« เมื่อ: สิงหาคม 07, 2008, 10:36:21 AM »
ผมจะลบ mysql-5.0.45-7.el5 ออก  แต่พอสั่ง rpm -e mysql มันขึ้น error
error : Failed dependencies:
           libmysqlclient.so.15()(64bit) is needed by(installed) dovecot-1.0.7.2.el5.x86_64
           libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by(installed) dovecot-1.0.7-2.el5.x86_64

จะแ้ก้ไขยังไงดี รบกวนผู้รู้หน่อยคับ ตอนนี้ยังติดตั้ง mysql-server ไม่ได้เลย

12
MySQL / Re: ช่วยดู error ตอนลง mysql ให้หน่อยคับ
« เมื่อ: สิงหาคม 07, 2008, 09:04:53 AM »
เข้าไปลองใช้คำสั่ง rpm -e mysql-server แล้ว มันขึ้นว่า
error : package mysql-server is not installed

เข้าไปใน add/remove software ก็ไม่มี mysql ให้remove อ่ะคับ เหมือนกับว่ามันยังไม่ได้ install ไปเลย

13
MySQL / Re: จะimportฐานข้อมูลเข้าserverยังไงคับ
« เมื่อ: สิงหาคม 07, 2008, 00:46:42 AM »
แนะนำตัวเรียบร้อยแล้วคับ ยังไงฝากเนื้อฝากตัวด้วยนะคับ มือใหม่หัดขับจิง ๆ  :D

โปรแกรมเดิม รพ ใช้อะไรอยูู่ี่ครับ




ถ้าจำไม่ผิดน่าจะเป็น "มินิแดท" พอดีเพิ่งเข้ามาทำงานใหม่อ่ะคับ ยังไม่ค่อยรู้รายละเอียดเท่าไหร่เลย

14
MySQL / Re: จะเอาไฟล์ perl-DBI จากไหนครับ
« เมื่อ: สิงหาคม 07, 2008, 00:41:22 AM »
พอดีเพิ่งเปลี่ยนมาใช้ centos5.1 อ่ะคับ ก็เรยหาในแผ่นเจอ perl-DBI-1.52-1.fc6.x86_64.rpm  หวังว่าคงจะใช้ได้นะคับ



มาดูงาน มะการักษ์  ไม่ได้ขอแผ่น ติดตั้งโปรแกรมไปด้วยหรือครับ



นั่นสิครับ ทำไมไม่ขอไปเนี่ย พลาดไปแล้ว ๆ

15
MySQL / Re: ช่วยดู error ตอนลง mysql ให้หน่อยคับ
« เมื่อ: สิงหาคม 06, 2008, 17:02:01 PM »
rpm -e mysql* อันนี้เป็นคำสั่ง remove ใช่ป่าวคับ แล้วตรง mysql เราจะรู้ได้ไงอ่ะคับว่ามันเป็นอะไร หรือมีวิธีการ remove ทาง graphic mode มัี๊ยคับ

16
MySQL / Re: จะเอาไฟล์ perl-DBI จากไหนครับ
« เมื่อ: สิงหาคม 06, 2008, 16:48:04 PM »
พอดีเพิ่งเปลี่ยนมาใช้ centos5.1 อ่ะคับ ก็เรยหาในแผ่นเจอ perl-DBI-1.52-1.fc6.x86_64.rpm  หวังว่าคงจะใช้ได้นะคับ


17
MySQL / ช่วยดู error ตอนลง mysql ให้หน่อยคับ
« เมื่อ: สิงหาคม 06, 2008, 16:33:38 PM »
พอใช้คำสั่งนี้

rpm -ivh MySQL-server-5.1.26-0.glibc23.i386.rpm --nodeps --force
Preparing...                ########################################### [100%]

******************************************************************

A MySQL server package (MySQL-server-5.1.26-0.glibc23) is installed.

The current MySQL server package is provided by a different
vendor (warning: cannot get shared lock on /var/lib/rpm/Packages
MySQL AB) than MySQL AB.  Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

Upgrading directly from MySQL <unrecognized version warning: cannot get shared lock on /var/lib/rpm/Packages
5.1.26> to MySQL 5.1 may not
be safe in all cases.  A manual dump and restore using mysqldump is
recommended.  It is important to review the MySQL manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

  You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MySQL-shared-compat package.
- Install the new MySQL packages supplied by MySQL AB
- Ensure that the MySQL server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process.  Important details
can be found in the MySQL manual, in the Upgrading section.
******************************************************************
error: %pre(MySQL-server-5.1.26-0.glibc23.i386) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping MySQL-server-5.1.26-0.glibc23

จะแก้ยังไงดีคับเนี่ย

18
MySQL / จะเอาไฟล์ perl-DBI จากไหนครับ
« เมื่อ: สิงหาคม 06, 2008, 15:52:55 PM »
คือผมจะติดตั้ง mysql อ่ะคับ จะหาไฟล์ Perl-DBI  จากที่ไหนคับ 

19
MySQL / Re: จะimportฐานข้อมูลเข้าserverยังไงคับ
« เมื่อ: สิงหาคม 06, 2008, 09:13:54 AM »
แนะนำตัวเรียบร้อยแล้วคับ ยังไงฝากเนื้อฝากตัวด้วยนะคับ มือใหม่หัดขับจิง ๆ  :D

20
MySQL / ีจะimportฐานข้อมูลเข้าserverยังไงคับ
« เมื่อ: สิงหาคม 05, 2008, 15:56:05 PM »
คือตอนนี้ลง hosxp และติดตั้ง mysql server ไว้ในเครื่อง client แล้ว  จะมีวิธีเอาฐานข้อมูลเข้าไปไว้ใน server ยังไงครับ ตอนนี้ใช้ linux ubuntu

หน้า: [1]