phpMyAdmin freezes when running any query - mysql

I have a new MacBook Pro and have installed/configured development environment to include PHP and MySql in particular. MySql Workbench works 100% and I can run queries from terminal (i.e., the command line). However, every SQL query I run in phpMyAdmin simply freezes. No matter how simple the query. The exact same query runs fine in MySql Workbench, but I much prefer phpMyAdmin.
I've followed this and reinstalled mysql and phpMyAdmin twice.
https://coolestguidesontheplanet.com/get-apache-mysql-php-and-phpmyadmin-working-on-macos-sierra/
I suspect there is a permission setting somewhere.
What am I doing wrong? Why would phpMyAdmin work, but not execute queries?
Any thoughts are greatly appreciated.

Related

MySQL workbench crashes whenever I try and access a table

I'm trying to learn how to use MySQL. I installed the latest version of MySQL and MySQL workbench, however every time I try and access a table I've made the app immediately just crashes. The error report makes no sense to me.
I'm using a macbook air m1 and I've double checked I have the correct versions installed.
Is this a common issue and does anyone have any suggestions?
Thanks
I was advised to try reinstalling MySQL, which I did and there was no improvement. I've tried restarting my machine, but I have no idea what to try other than that.

MySQL WorkBench 8.0 Keeps Crashing MacOS Ventura 13.1

I am taking a data analytics and management course for my graduate program. We started doing simple lines of code today like create a table, select, and use functions. However, every-time I go to execute the select * from it crashes the program.
I have restarted my computer multiple times. Nothing seems to work.
I had the exact same problem and played around with the version of my SQL workbench. Assuming you're using SQL Workbench 8.0.32, try using SQL Workbench 8.0.31 which is what solved the issue for me.
I was having the same issue, and also installed the 8.0.31, and it's now working. Thanks!

Easiest way to have a MySql database to make some queries against a dump file

I have a dump file of a MySql Database (I never worked with MySql, but I am assuming it's similar enough to SQL Server), because I don't want to run my queries in production.
I never created a local environment and I never worked with MySql. I tried to download MySql Workbench, but the GUI is not helping me. In SQL Server I would just connect with localhost and then everything would be fine. It was back then I had a managed PC by my previous organization. I suppose they installed everything to me.
I want to set up it and just go away. It could be in the cloud or locally.

mySQL workbench hangs after connecting to database

I am using MySQL workbench 6.3 CE to connect to mysql database on amazon aws (rds) system. I was running a create table query that was taking too long (lot of joins), and I stopped the query, and closed the workbench from Task Manager (end process). Since that operation:
1) I can open the workbench connect to the database, but once I connect and select any table from the schema, the workbench hangs.
2) No query could be run from workbench - I have to stop the query and I get the error "Interrupt: Error 2006, Mysql server has gone away".
3) if I click on the table name in the object browser, I don't see any columns for the table.
I tried to run the queries from the command line (in the workbench, right click on the database connection and click "Start command line client" - and here, I am able to run queries without issue. However, I have connected to this database through RODBC - in R, none of the odbcCommands are working (sqlTables() hangs, etc).
I am at my wits end trying to understand whats wrong - any pointers would be wonderful.
Thanks.
Actually, I realized it was because I stopped the create table query - I don't know the mechanics, but apparently, there was a background process running. I had to kill the query and kill the connection and everything was back to normal.
Hope this helps someone some other time.

MySQL Workbench Results Grid not showing returned records

MySQL WORKBENCH is connecting to my database, showing tables, but not showing query results.
I can see the results of the same query by running from the mysql command line interface.
I am accessing a database using my VPN connection.
I'm puzzled why WORKBENCH won't display the results.
Downloaded latest .deb file and installed. Was prompted to update by Ubuntu Software Centre.
After re-installation/update same version ref in Help/About, but now works. Hmmm.