Mysql Command line not working on mac - mysql

When I try to access mysql command line on my mac it gives me this error - it doesn't matter what mysql command, username, password, server or I use either:
Launch of "mysql" failed: the PowerPC architecture is no longer supported.
This happened right after I installed Mac OS X lion. I am using MAMP Pro - I am upgraded to the latest version: 2.0.3- as my stack and I was wondering if anyone had any solutions for me. This is kind of a priority since I need it to handle large mysql imports.
BTW, I don't have a powerpc. I have intel core duo 2.66ghz

Try downloading and reinstalling MySQL from http://www.mysql.com/downloads/mysql/. Depending on your machine, you'll want to either grab the Mac OS X ver. 10.6 (x86, 64-bit) or Mac OS X ver. 10.6 (x86, 32-bit) version.

Maybe you should install another version of mysql or you can install xampp at
http://www.apachefriends.org/en/xampp-macosx.html

Related

Why won't MySQL 8.0.28 install on macOS 12 Monterey?

I downloaded the community version of MySQL but it won't install on macOS. How come?
Since the introduction of Apple M1 CPU, software like MySQL provided 2 versions for Apple M1 CPU (arm) and Intel CPU (x86).
Please make sure you downloaded the right version.
This works for me:
To download the MySQL Community Server, go to MySQL Community Downloads page and click Download button for macOS 11 (ARM, 64bit), DMG Archive. This will download the MySQL Community Server version 8.0. 27 file in your macOS' Download folde
I got the error below :
"mysql-8.0.31-macos12-x86_64.pkg” cannot be opened because it is from an unidentified developer."
Below steps resolved this issue on my mac m1.
Download the x86 version(DMG) for Mac M1.
Double click the DMG and it'll open the .pkg file.
Rather than double clicking on the .pkg file, right click and open the package.
I encountered the same issue. I was able to resolve it by downloading the x86 version on my Macbook
As an workaround you also could consider getting mysql from brew with brew install mysql.
I found the Solution. You have to allow it to pass through in the system setting. Watch this video https://www.youtube.com/watch?v=W1AxFoomV0c

installing the latest MySQL security update on macOS 10.12 Sierra

We're still running MySQL (community server) on macOS 10.12 Sierra (because Apple has gutted later versions of macOS and macOS Server and we don't want to go there just yet). It appears the latest MySQL security updates (October 2018) no longer support macOS with the 5.6.x track. The 5.7.x and 8.x tracks now only list installers for 10.13 High Sierra and 10.14 Mojave.
So, the question is: can you install the latest MySQL 5.7.24 on macOS 10.12 Sierra and will it run without problems?
I'm okay if it's simply "unsupported" and will install but if it specifically won't install/will cause problems I would like to know before upgrading. I've searched the MySQL web site for information on this but there is nothing.
I asked this question on the MySQL forums and got no response. Hope someone here can help.

MySql databases are deleted after upgrading mac os to Mojave

I had mysql installed on my mac os high sierra and it had some databases created on it. When i upgraded my operating system to mac os Mojave and connected phpmyadmin to mysql i've found that my databases are not there anymore.
Is there a way to retrieve the databases i had?

MySQL Community server 5.6.26 10.9 download has 10.8 in it?

I am trying to get MySQL running on GM of El Capitan. When I go to MySQL downloads for the Community server there are 2 .DMG archives - one for Mac OS X version 10.9 and one for 10.8. However when I download the 10.9 .dmg archive and open it it contains the 10.8 server. If you look at the 2 MD5 hashes for the 2 .DMGs they are the same.
So is there no 10.9 version of MySQL? Is there no difference? I can install it, but when I try and start it it fails on El Capitan.
I just want to make sure I am not missing something given there is no 10.10 and certainly not yet a 10.11 .DMG archive.

MySQL ODBC on Mac OS X 10.8

I've found some problems while trying to connect to a remote MySQL database using MySQL's ODBC connector.
I'm on Mac OS X 10.8.2 and I've installed MySQL ODBC connector 5.2.4. Every time I tried to connect using this ODBC my connection gets refused.
Does anyone have the same issue? Is there any workaround?
Edit: I tested the ODBC connection with iODBC and I got the following result:
SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5.so, 6): image not found (0) SQLSTATE=00000
SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
The MySQL Connector/ODBC 2.5.6 for Mac OS X comes only in versions for 10.6 (Snow Leopard) and 10.7 (Lion). I don't know about any official support from MySQL for Mac OS X versions 10.8 (Mountain Lion) or even 10.9 (Mavericks)!
Paid licensed solutions put more effort on supporting the latest Mac OS X versions... I have tried myself the evaluation version Actual ODBC Pack for Mac OS X with Mavericks and could get 3 rows per recordset. You can try that and if it works see if it's worth paying for unlimited rows.
Are you using the ODBC Administrator utility or the command line?
http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-configuration-dsn-macosx.html
Edit: I don't think I noticed "remote" server. Does that remote server had a user with permissions to connect from your IP address?
#Jason Sundram (OP): Just FYI, Oracle has (in response to my filing bug reports about their documentation) updated the Mac OS X, mysql 5 installation instructions for Connector/ODBC, at:
https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html
Following those steps might be helpful. They worked for me in OS X 10.9 (Mavericks). But, I'm also not trying to do precisely what you are, with your environment, so I'm not sure what effect reinstalling as instructed there may have on your problem.