MySQL localhost cant connect windows 10 - mysql

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

Related

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 make connec localhost to work with new MYSQL version in windows server IIS 7.5

I have a wordpress websites on windows server IIS 7.5
Now all works with MYSQL 5.6 on port 3306.
I have installed new version of MYSQL 5.7 on port 3307, and the problem that I don't know how to connect my websote to work with the new version 5.7 on port 3307.
To better understood, I need the new ver 5.7 to be default at localhost.
I use Workbenceh and PHPmyadmin and having access to the server since its mine. (virtual server)
Thanks
As Lex Li mentioned, all these settings located in the wp-confgi.php, the official document has already elaborated on how to configure the database connection. We could migrate the project to use a new database by changing the DB_host settings.
https://wordpress.org/support/article/editing-wp-config-php/#configure-database-settings

Issue connecting to MySql Service from Virtual Machine in Azure China

I have a Microsoft Azure account in China, in which there is a Virtual Machine and a "mysql database on azure" service set up.
I can RDP onto the VM from my development PC (in the UK) and I can connect to the MySql database from my development PC. However, I cannot connect to the MySql database from the Azure VM.
When attempting to connect using MySql Workbench, I get the following error:
"SSL connection error: socket layer receive error"
I have checked the configuration of the VM and of the MySql server and everything looks correct. Any ideas?
We have now resolved this. In case anyone comes across a similar problem, the issue is with the version of MySql Workbench we were using.
Hosted MySql in Azure China works with MySql Workbench 6.2, but does not work with 6.3.

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.

MySQL Workbench connection to local network MAMP server

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.