'; break; case "delux": echo ''.$desc.''; break; case "prem": echo ''.$desc.''; break; case "smp": echo ''.$desc.''; break; case "win": echo ''.$desc.''; break; default: echo ''.$desc.''; break; } ?>
ขอความร่วมมือผู้ที่คัดลอกบทความข้อมูลของทาง naxza web hosting ไปใช้ เพื่อให้ข้อมูลข่าวสารด้านโฮสติ้งต่าง ๆ นั้น กรุณาทำ link กลับมายังต้นฉบับบทความด้วยครับ หากตรวจสอบพบการละเมิด ทางเราจะดำเนินคดีตามกฏหมายโดยทันที


Hosting Article : | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 

การใช้งานโปรแกรม Navicat Lite ติดต่อฐานข้อมูล MySQL บน Hosting

host

โปรแกรม Navicat Lite เป็น non-commercial หรือโปรแกรมที่สามารถใช้งานได้ฟรี โดยห้ามนำไปใช้ในเชิงการค้า โดยโปรแกรมนี้เป็น DBMS ตัวหนึ่งที่สามารถติดต่อฐานข้อมูลได้หลากหลายชนิดไม่ว่าจะเป็น MySQL , PostgreSQL, Microsoft SQL Lite หรือแม้แต่ Oracle วันนี้จะมาเสนอวิธีการติดต่อ MySQL hosting ในระบบที่ไม่มีการอนุญาตให้ติดต่อโดยโปรแกรมภายนอก สำหรับ hosting ที่ดีแล้ว มักจะมีการป้องการกันบุกรุก โดยการจำกัดสิทธิ์ในการเข้าถึงข้อมูลบน hosting ซึ่งการกำหนด privilege คือการกำหนดการเข้าถึงข้อมูลบน hosting จากช่องทางอื่น ๆ หรือคือการกำหนด permission ในการเข้าถึงข้อมูลบน hosting นั่นเอง

ตัวโปรแกรม Navicat Lite เองสามารถ donwload ได้ที่ http://www.naxza.com/download/navicat9_lite_en.exe ซึ่งเป็นโปรแกรมที่แจกฟรี โดยไม่ใช้ในเชิงการค้า โปรแกรมนี้เมื่อติดตั้งเสร็จ จะทำการสร้าง Folder ของโปรแกรมไว้ใน Program Files โดยจะชื่อ PremiumSoft ซึ่งภายในปรากฏ Folder ชื่อ Navicat Lite

สำหรับไฟล์ที่เป็น tunnel หรืออุโมงค์ข้อมูลสำหรับติดต่อเข้ากับ hosting ที่มีการจำกัด MySQL privilege ไว้ก็จะบรรจุอยู่ในนี้เช่นกัน ซึ่งความหลากหลายของโปรแกรมนี้ คือสามารถติดต่อได้หลาย RDBMS หรือหลากหลายชนิดฐานข้อมูล ซึ่งโปรแกรมก็มี tunnel มาให้ทั้งหมด 3 รูปแบบคือ MySQL , PostgreSQL และ SQL Lite ในกรณีของทาง hosting naxza นั้นเป็นฐานข้อมูลประเภท MySQL ซึ่งสามารถเลือกใช้ไฟล์ ntunnel_mysql.php ได้ โดยทำการ upload ผ่านโปรแกรม FTP ทั่ว ๆ ไป โดย upload ไปไว้ใน public_html เช่นตัวอย่างเว็บไซต์ชือ่ www.499baht.com เมื่อทำการ upload ขึ้นไปแล้ว URL tunnel ที่ได้ก็จะเป็น http://www.499baht.com/ntunnel_mysql.php

เมื่อได้ค่าของ URL Tunnel มาแล้วให้ตั้งค่าในส่วนของ Host Name/IP Address เป็น localhost จากนั้นไปที่ tab HTTP เพื่อกำหนดค่า URL Tunnel จากนั้นด้านล่างจะมีให้ตั้งค่า Authentication ซึ่งจะเป็นค่าเดียวกันกับที่ใช้ในการติดต่อฐานข้อมูล คือ database User และ database Password

สำหรับกรณีที่จะตรวจสอบว่า Hosting มีการกำหนด privilege ไว้ให้หรือเปล่านั้น ให้ลองติดต่อฐานข้อมูลผ่าน IP Address ของ hosting ดูก่อน หากพบ Error ตามภาพ เช่น

1130 - Host 'xxx-145-224.23.213' is not allowed to connect to this MySQL Server

นั่นแสดงว่า IP Address หรือ Host ของเราไม่ได้รับสิทธิ์การอนุญาตให้ติดต่อฐานข้อมูล MySQL ที่ Hosting นี้ ลักษณะดังกล่าวสามารถแก้ไขได้โดยการสร้าง tunnel ของข้อมูลเพื่อติดต่อกับ Hosting โดยตรงได้



Navicat Lite program is a non-commercial. Or programs available for free. Not used by commercial The program is a DBMS, one can connect a variety of species such as MySQL, PostgreSQL, Microsoft SQL Lite or even Oracle today will propose how to contact MySQL hosting that is not allowed to contact with external programs. for hosting that usually has good suppression of the same attacker. By restricting access to information on the privilege of hosting that is scheduled to access information on hosting from other channels or is the permission to access information on hosting.

Navicat Lite The program can also donwload at http://www.naxza.com/download/navicat9_lite_en.exe. This program is free. Without using the commercial This program when install program will create a Folder in Program Files will appear in the Folder a name PremiumSoft Navicat Lite.

File for a tunnel or tunnels to the contact information for hosting the MySQL privilege to limit it contained in this as well. The diversity of this program. Is to contact as many or various RDBMS database This program is a tunnel to all three types: MySQL, PostgreSQL and SQL Lite in the case of the hosting naxza MySQL is a database of files that can be used. ntunnel_mysql.php by FTP program to upload via the upload around beyond into the public_html dubbed as sample sites. www.499baht.com when you upload more then the URL tunnel will be http://www.499baht.com/ntunnel_mysql.php.

When the value of a URL Tunnel ago, set in the Host Name / IP Address as localhost, and then go to configuration tab HTTP URL Tunnel and then the bottom will be set Authentication. This is the same as that used to connect the database User and database Password.

For the case to ensure that Hosting is the privilege to grant or empty it. Try to connect through IP Address of hosting the image preview if found Error like

1130 - Host 'xxx-145-224.23.213' is not allowed to connect to this MySQL Server.

That indicates that the IP Address or Host We do not have the permission allowed to connect to MySQL Hosting this nature can be solved by creating a tunnel to connect with Hosting data directly

Hosting Article : | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 

<?=$desc;?>

HOME   |   ABOUT US   |   HOSTING   |   DOWNLOAD   |   SUPPORT   |   CONTACTS
Copyright © Naxza.com,Since 2004. All Rights Reserved. Privacy policy. monitoring site uptime web