MySQL Workbench connection to local network MAMP server - mysql

I have MAMP installed on my Macbook Pro retina 13, which is in the same network as my workstation Windows machine. I would like to have MySQL Workbench to communicate with my MAMP server (instead of installing WAMP on this workstation), but I have been getting the Failed to Connect to MySQL at 192.168.169.101:8888 with user root and Invalid for this platform protocol requested(MYSQL-PROTOCOL_SOCKET) error.
Could this be a firewall issue? I am sure I have the right IP address and correct port, but I cannot get my Windows machine to communicate with my MAMP server.

I had the wrong port number. I will be cognizant of that next time.

Related

MySQL localhost cant connect windows 10

Here is the setups
Old windows 7 laptop I've got mysql installed on it. Project in Livecode connect to it. Projects in Unity connect to it.
New windows 10 laptop exact same versions of livecode, mysql and unity installed. None of them can connect to MySQL locally. I can connect with unity to the MySQL on my website just not the local one. Yes the server is running. Yes the 3306 port is open in the firewall. Yes MySQL Workbench connects fine to the database. I just cant get anything else to connect to it.
worked it out.
has to be an older version of mysql, .net connector needs to be installed, passwords must be set to standard authentication not sha256

want to connect to mysql from parallel desktop

I wanna connect to mysql database which is on my Mac from parallel desktop(windows 11) ,but I can't. How can I connect to Mac IP from my parallel?
(I tried to install mysql workbench on parallel but it says "your processor is not adequate). So, I had to install database on Mac.I also tried bridged wifi and using localhost but it can't find the database.
I have a partial solution for you. I modified the MySQL Workbench installation to run on Mac ARM. I also use USB Webserver to run a MySQL database on Windows ARM. MAMP and WAMP don't seem to run on Windows with Parallels.
I too am trying to figure out how to access a database running on Mac from C# Windows Apps on Windows. Have not had success yet.
You can get the install files for Workbench on my github page.
https://github.com/shadsluiter/MySQLWorkbenchM1MacParallels

How to use a GUI tool to administer a SQLite database on a virtual machine

I know how to do this for MySQL.
I am using Mac OS X 10.7.5
I run VirtualBox with the guest OS as 12.10 Ubuntu Server edition.
Inside the Ubuntu, I installed mySQL and SQLite3.
MySQL runs on the usual 3306 port in the Ubuntu.
Using the port forwarding feature in VirtualBox, I port-forwarded port 3122 on the host OS(Lion) to the ssh port 22 on the guest OS(Ubuntu).
I run the software Sequel Pro on my Macbook which has a SSH access option.
See screenshot.
Using this method, I can administer the mySQL databases on the Ubuntu Server where I run my web application development.
How do I administer the SQLite3 databases in a similar way?
I have downloaded the SQLite3 Database Browser, but there is no SSH option as far as I can see.
Unless the app comes with SSH tunnelling capabilities you are out of luck. Still here are a few alternatives for you to try:
You can use a native app inside the VM. SQLite3 Database Browser is available for Ubuntu as well.
Since sqlite databases are basically files you could mount the VM as an SSH volume on your Mac and open the file with SQLite3 Database Browser.

Wamp server, localhost and phpmyadmin

I installed Wamp server to windows XP 32-bit.
When start the Wamp server and call the localhost from the browser,
the browser gives me empty an page. The same thing happens when calling phpMyAdmin page.
So I searched for solutions to this problem. I've tried to fix it but until now the problem is not solved.
About the problem that fixed it
1- UnInstall the skype . or change the port that skype used it from 80 .to another port number
2- if you install oracle to your pc . turn off the service for it
3- also if you install sqlserver . turn off the service for it
4-if the last problems and the problem of wamp server is stilling. change the port that used it from 80 to 8080 .
I do all of theses steps but the wamp server untill now not worked
you should look for the reason WAMP is not working:
you do havs a 32bit OS, do you have a 32Bit WAMP? A 64Bit Version will not work
if you don't see anything at all of Apache running, is Apache running (Tasklist) ?
What about the Logfiles? I never used an Apache on Windows, Google told me your logfiles should be located at: c:/wamp/logs . Anything in there that might help?
check the steps before you handing the WAMP Server:
use 32 bit WAMP server.
change the port no 80 to 81.
Stop the IIS services.
Start the Apache server.
restart the WAMP server.
use the port no in your URL.Like.
http: // localhost:81 /
now you can view the screen of WAMP server.

How do I enable connections to a MySQL database from a Virtual PC using SQL Developer

I've got a MySQL Database on my local machine (Windows 7).
My local machine hosts 2 VMWare virtual machines. One running windows xp and the other running Ubuntu.
I want to access the MySQL database on my local machine using SQLDeveloper on the windows XP virtual machine.
The Ubuntu machine is able to access the database from within a java app using url jdbc:mysql://Peter-PC:3306/accessodev and a user/pass
When I attempt to connect from the windows XP box use SQLDeveloper I get a message saying: Communications link failure. The driver has not received any packets from the server.
Both the Ubuntu and Windows XP machines fail to connect using telnet Peter-PC 3306. Both machines successfully resolve Peter-PC to the correct IP address.
The Win 7 Machine can telnet to itself using telnet Peter-PC 3306. The windows firewall is turned off on this machine.
Can anyone give me any tips on how I can get connectivity to the MySQL database from the WinXP machine using SQLDeveloper?
Edit: I'm using the driver from http://www.mysql.com/downloads/connector/j/
Thanks,
Peter
Probably stating the obvious here but have you granted permission to the virtual machines to connect to the MySQL server (grant all permissions on database.* to 'winxp'#'a.b.c.d' identified by 'passwordhere'; flush privileges;)? And on the XP machine, have you allowed the SQLDevloper app through the firewall? Might be worth running up Wireshark on the host machine to see exactly what's coming through to the host machine too