In Feburary 2016 01,
Open a terminal or access the command line on the server your MySQL database is installed on.
Type 'which mysqld' to locate where the database is installed. The command line will return a path similar to '/bin/mysql.'
Type 'file ' into the command line and press 'Enter.' Replace '' with the installation path found in the previous step.
Examine the data returned by the system. If you have a 32-bit version of MySQL installed, the line will begin 'ELF 32-bit LSB executable.' If you have a 64-bit version of MySQL, the line will read 'ELF 64-bit LSB executable.'
Query the Database Version from Within MySQL
Run MySQL and use the MySQL query command line to determine the installation version.
Type 'SHOW GLOBAL VARIABLES LIKE 'version_compile_machine';' into the prompt and press 'Enter' to execute the query.
Examine the query results to determine the version of MySQL you are running. A 32-bit version will display 'i686' in the results next to 'version_compile_machine.' A 64-bit version will display 'x86_64' in the results next to 'version_compile_machine.'
In Feburary 2016 01,
No comments:
Post a Comment