• Dịch vụ Quản trị máy chủ
  • Liên hệ quảng cáo
Chủ Nhật, Tháng năm 4, 2025
  • Login
cPanel.vn
Liên hệ quảng cáo
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain/Host/Server
    • Hosting
    • Tên miền
    • VPS
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes
No Result
View All Result
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain/Host/Server
    • Hosting
    • Tên miền
    • VPS
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes
No Result
View All Result
cPanel.vn
No Result
View All Result

Check MySQL version

cPanel.vn by cPanel.vn
18/02/2011
in MySQL
Home Server Database Server MySQL

Chậc, đôi khi được cung cấp một cái hosting mà chả biết nó dùng MySQL phiên bản mấy. Nếu server có hỗ trợ PHP thì bạn có thể làm như sau:1. Tạo một file phpinfo. Copy nội dung dưới đây lưu thành file dạng *.php như info.php

<?
phpinfo();
?>

2. Tạo một file ví dụ mysql.php:

<?php
$file = @file_get_contents(“http://domain_cua_ban/info.php”);
$start = explode(“<h2><a name=\”module_mysql\”>mysql</a></h2>”,$file,1000);
if(count($start) < 2){
echo “MySQL is not on this server.”;
}else{
$again = explode(“<tr><td class=\”e\”>Client API version </td><td class=\”v\”>”,$start[1],1000);
$last_time = explode(” </td></tr>”,$again[1],1000);
echo “MySQL Version: <b>”.$last_time[0].”</b>”;
}
?>

Chú ý thay đổi địa chỉ của file info.php ở dòng thứ 2 của file này: http://domain_cua_ban/info.php.

3. Up hết lên host sau đó chạy file mysql.php. Ví dụ: http://domain_cua_ban/mysql.php
Cuối cùng là xem cái kết quả nó trả về thôi ^^.

Tags: check version mysqlmysql
Previous Post

Cài đặt và cấu hình APF Firewall trên VPS Linux

Next Post

Tắt IPv6 trên server RedHat/CentOS – How to disable IPv6 Networking on RedHat/CentOS

Có thể bạn quan tâm

Cài đặt phpMyAdmin trên CentOS
Linux

Cài đặt phpMyAdmin trên CentOS

21/07/2011
cPanel/WHM

MySQL Tweaking – Tối ưu MySQL

16/02/2011
Linux

Reset password MySQL trên Linux và Windows

16/02/2011
Next Post

Tắt IPv6 trên server RedHat/CentOS - How to disable IPv6 Networking on RedHat/CentOS

Để lại một bình luận Hủy

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Nên xem.

Khắc phục lỗi “The system administrator has set policies to prevent this installation” trên VMWare Server

Khắc phục lỗi “The system administrator has set policies to prevent this installation” trên VMWare Server

20/07/2011
50 câu lệnh Linux phải nhớ

50 câu lệnh Linux phải nhớ

15/02/2011
Liên hệ quảng cáo Liên hệ quảng cáo Liên hệ quảng cáo

Đang HOT.

Khắc phục lỗi Just-In-Time Debugger

16/02/2011
Làm gì khi website báo lỗi Server Error in ‘/’ Application

Làm gì khi website báo lỗi Server Error in ‘/’ Application

25/05/2014
Hướng dẫn nhập tiếng Việt và tiên đoán ngôn ngữ trong điện thoại Nokia

Hướng dẫn nhập tiếng Việt và tiên đoán ngôn ngữ trong điện thoại Nokia

18/07/2013
Xóa Log File trong SQL Server 2005

Xóa Log File trong SQL Server 2005

21/07/2011
diadiem.com cũng bị tấn công

Cái nhìn tổng quan về vụ vozforums, diadiem, lauxanh bị hack tên miền

25/05/2014
cPanel.vn

cPanel.vn

Chia sẻ kiến thức và kinh nghiệm quản trị máy chủ, tên miền, email, hosting cũng như các thủ thuật máy tính, công nghệ thông tin.

Liên hệ quảng cáo: haomd@cpanel.vn

Follow Us

Danh mục

  • Control Panel
  • cPanel/WHM
  • Direct Admin
  • Domain/Host/Server
  • Email Server
  • HELM
  • Hosting
  • Internet
  • Kloxo-LxAdmin
  • Linux
  • LNMP
  • MSSQL
  • MySQL
  • Nhiếp ảnh
  • Plesk
  • Tên miền
  • Themes
  • Thủ thuật SEO
  • Virtuozzo
  • VMWare
  • VPS
  • Web Server
  • Windows

Thẻ

123system 123systems backup ca si ngan khanh CentOS cpanel CSF directadmin facebook google google apps google music beta green value host greenvaluehost hack tên miền how to install kenh14 kenh14.vn khuyến mãi kloxo kênh 14 kênh 14 bị hack like fanpage linux lnmp mime type mysql ngân khánh outlook phpmyadmin tên miền tên miền miễn phí vietidc vmware vmware server VPS vps giá rẻ vps miễn phí vtc vtca vtc academy windows windows xp đăng ký tên miền ưu đãi

Recent News

Khắc phục lỗi “DA appears to be using SSL. Change your script to connect to ssl” khi đổi mật khẩu Round Cube trên DirectAdmin

Khắc phục lỗi “DA appears to be using SSL. Change your script to connect to ssl” khi đổi mật khẩu Round Cube trên DirectAdmin

11/02/2022
Cấu hình Laravel trên DirectAdmin

Cấu hình Laravel trên DirectAdmin

03/11/2024
  • Giới thiệu
  • Quảng cáo
  • Dịch vụ

© 2008 - 2024 cPanel.vn - Powered by VietIDC and Raspberry Pi Việt Nam.

No Result
View All Result
  • Home
  • Control Panel
    • cPanel/WHM
    • Direct Admin
    • HELM
    • Hosting Controller
    • IspConfig
    • Kloxo-LxAdmin
    • LNMP
    • Plesk
    • Webmin
  • Domain/Host/Server
    • Hosting
    • Tên miền
    • VPS
  • Ảo hóa
    • Virtuozzo
    • VMWare
  • Hệ điều hành
    • Linux
    • Windows
  • Internet
    • Thủ thuật SEO
    • Nhiếp ảnh
  • Server
    • Web Server
    • Email Server
    • Database Server
      • MSSQL
      • MySQL
  • WordPress
    • Themes

© 2008 - 2024 cPanel.vn - Powered by VietIDC and Raspberry Pi Việt Nam.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In