I'm having trouble connecting to a local server hosted on a MacBook/MAMP. My .NET application (running on a Windows computer) smoothly connects to another Windows machine (MySQL server) with the same connection string "server=[computer's name]; user id=xxxx; password=xxxx; database=xxxx" but when I use this MacBook's name, I get the following error:
"Unable to connect to any of the specified MySQL hosts"
Note: File Sharing is turned on
Please help.
For those who might experience the same issue, the problem was that my MacBook wasn't visible to Windows machines. Go to System Preferences > Sharing > File Sharing > Options and check your Account and Share files and folders using SMB.
Related
I need to set up my connection with PowerBI to Azure Database for MySQL flexible server. I can't seem to find any reliable documentation to do this.
Initially I'm getting this error when I try to connect to the server.
Get Data > More > Select MySQL Database
Input the Server name and Database name > Hit OK
Error: Connections using insecure transport are prohibited while
--require_secure_transport=ON.
Then I downloaded the SSL certificate from our Azure portal then successfully imported in the certmgr.msc under the Trusted Root Certification Authorities
But the same issue persists. Please take note that in this same machine I was able to connect to that server using phpmyadmin. In DbBeaver as well by simply installing the SSL as a CA Certificate. What can I try next?
when you import the certificate you get asked to install it for current user or local machine. Have you tried importing it on local machine rather than current user. I have it on local machine and able to connect to the Azure database for mysql server. let me know if it works.
Thanks
Sunitha
Able to fix my issue by installing the latest mySQL connector and importing a public SSL Certificate.
my machine previously has a MySQL Connector Net 7.0.2 then I downloaded the latest 8.0.32 from this page: https://dev.mysql.com/downloads/connector/net/
thanks to this reference: https://learn.microsoft.com/en-us/azure/mysql/flexible-server/connect-with-powerbi-desktop
I can't seem to connect to my companies AWS RDS database. The database's security options are open - everyone else in the company can access the database just fine. I'm also able to access the database if I'm on my phones hotspot, but get this error if I use my wifi:
ERROR 2003 (HY000): Can't connect to MySQL server on
'x.x.rds.amazonaws.com:3306' (111)
I'm running Windows 10 with a VM to run Ubuntu. The MySQL or Telnet connection doesn't work on either OS.
Some things I've tried:
-Disable all my Windows firewalls
-Factory reset my router and disable the SPI firewall
-Add port 3306 into inbound and outbound connections on the Windows firewall
-Set my connection to the router as private on Windows
I'll greatly appreciate any help.
EDIT: I'm 99% certain that there is an issue with my internet - perhaps related to the firewall. I don't know anything about networking and can't seem to find many resources online to help with this issue. Not quite sure what else to play around with - I've factory reset the router and disabled the SPI firewall.
Looks like DBeaver is not added as a exception to the windows firewall. To add the program to the Windows Firewall Exceptions list, follow these steps:
Click Start, and then click Control Panel
Double-click Windows Firewall, and then click the Exceptions tab
Click Add Program
Locate the file DBeaver.exe (in the program folder, inside Program Files), and then Click OK
After this please try adding restarting DBeaver and try to connect
I want to develop a project for some college work. For this project i want to create a database in MySQL and I should be able to access this database from 2 different PC's which have MySQL workbench installed on it. I can use one of the PC's as the server or even a third PC as the server for the MySQL database. Someone please help me in doing this as i am unable to find any solutions online.
There's not much of an issue here.
Download and install the server from here.
Then install it on a computer within the same LAN of other computers
that will query the database.
Get the local ip of the computer on which the server is up and
running (on windows run cmd and then ipconfig) then look for
IPv4 Address value of the LAN.
Then establish the connection from other computers using that ip
value as host value configuration.
Running into an odd issue with a getting a successful localhost install of ExpressionEngine 2.5.3.
I am able to run the ExpressionEngine Installation and Update Wizard where server settings, database setting and admin account information is entered. So the Apache side is working as expected, or so I assume.
The issue crops up when I click on the Install ExpressionEngine button — the point where the installer starts working it's magic — get this error:
A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: controllers/wizard.php
Line Number: 1532
For the SQL Server Address, Username and Password, I am using the same values I have used in the past: localhost for the server address, root for the username and root for the password.
Those credentials work when used with Sequel Pro 0.9.9.1.
Permissions on config.php and database.php — both empty files — are set to 666, as suggested by the ExpressionEngine installation documentation.
I am trying this on a MacBook Air running 10.8.2 with the built-in Apache and MySQL running via XAMPP. I am using VirtualHost X to so http://baseline.loc/ points to baseline.loc in my Sites folder. There are no other instances of Apache or MySQL running.
I am not well versed debugging server issues but I am comfortable working in the terminal.
Any ideas what I should be looking at to figure out why this usually basic stage of a new project has become a stumbling block?
I've had issues before using localhost as the host. Does 127.0.0.1 work for you?
I've had similar in OSX using mamp, simply changed the folder permission of the web folder to everyone read/write via finder and that did the trick
I have a MySQL database on another windows computer (a server) that is setup locally using remote desktop connection for testing.
How can I connect to that local database to Visual Studio 2010 on "my computer"?
Server Computer(MySQL database setup local) --> My Computer(Visual Studio for test code..)
I am new to MySQL and any suggestions will help.
Thanks
PS: I have found this, but the "Server Name" for the database is 127.0.0.1 which I can't use because it is local on whatever computer you are on.
http://geekswithblogs.net/mbridge/archive/2010/12/13/visual-studio-2010-hosting--connect-to-mysql-database-from.aspx
You'll have to use the address of the computer that it is hosted on. It should be the same as the address you use to connect to the remote desktop session.
You might need to configure the firewall to accept the connection. You also might need to setup MySQL to allow remote connections with the user that you authenticate with.
I would recommend downloading MySQL workbench and install it on your local computer. Once you get the connection working with that, you should be able to use the connection with VS2010.
If you're not sure how to do the things listed above, you'll need to start out with a basic tutorial on setting up MySQL for remote connectivity.