Can I tell what version (32 bit or 64 bit) of MySQL I am running by using Terminal?
MySQL is available for Microsoft Windows, for both 32-bit and 64-bit versions. For supported Windows platform information, see https://www.mysql.com/support/supportedplatforms/database.html.
Although MySQL Installer is a 32-bit application, it can install both 32-bit and 64-bit binaries.
The current latest stable version of MySQL is 8.0. To ensure that your database is running on the latest MySQL version, you can follow the MSQL community, where you can download the new version from the latest version list.
$ mysql --version mysql Ver 14.14 Distrib 5.1.45, for apple-darwin10.2.0 (i386) using readline 6.2 $ echo '\s' | mysql -------------- mysql Ver 14.14 Distrib 5.1.45, for apple-darwin10.2.0 (i386) using readline 6.2 Connection id: 105730 [...] Server version: 5.1.41 MySQL Community Server (GPL) [...] Uptime: 11 days 4 hours 2 min 6 sec Threads: 2 Questions: 1141270 Slow queries: 0 Opens: 6137 Flush tables: 1 Open tables: 56 Queries per second avg: 1.182 --------------
run this command in command line:
mysql> show variables like 'version_compile_machine';
then you get something like this:
+-------------------------+-------+ | Variable_name | Value | +-------------------------+-------+ | version_compile_machine | i386 | +-------------------------+-------+ 1 row in set (0.00 sec)
and then please check this: http://www.redhat.com/archives/rhl-list/2006-October/msg03684.html
you'll see that i386/i686 are 32 bit, and x86_64 is 64 bit.
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With