How to check the MySQL version on the server hosting my account?
How to check the MySQL version on the server hosting my account?
You can check the MySQL version using the phpinfo function. To do this, you should create a simple php file (for example phpinfo.php) with the following line in it:
<?php phpinfo(); ?>
Then you should open this file in a browser to see the full Apache/PHP information. The path to the file should be:
yourdomainname.com/phpinfo.php
The MySQL version is shown next to Client API version in the MySQL section of the file.
vpswebserver.com - Windows VPS hosting by VPSWebServer.com √ Dedicated hardware √ MS Hyper-V technology √
Thank you for share!
SELECT @@VERSION;
OR
SHOW GLOBAL VARIABLES LIKE '%version%';
The former works even from a query issued via, say, PHP.
|
Bookmarks