Can't connect to to siteground database with SQL - mysql

I'm trying to connect to my siteground native database, but I'm getting this error:
ER_ACCESS_DENIED_ERROR: Access denied for user
'root'#'cpc1234569-man6-2-1-cust215.7-1.cable.virginm.net' (using
password: YES)
when I try to make a query. I'm connecting via mySQL's VSCode plugin.
I've entered my public IP address in to Siteground's remote access host section, but I'm still being denied permission. Any ideas?

I solved it by creating a new database access account within the siteground tools page. There must have been something wrong with the credentials of the previous account passed on to me by my colleague. It worked smoothly from a new account.

Related

CodeIgniter 3 Database connects to own IP

I am trying to connect to an external database using the CodeIgniter 3 framework. When I enter the database details in Codeigniter's database settings I get the following message:
Message: mysqli::real_connect(): (HY000/1045): Access denied for user '{username}'#'{HomeIP}' (using password: YES).
While I have set in the database settings that it should connect to an external database, it does not. It then tries to connect to the ip adress of where I live
I have already tried the following things:
Disable firewall
Connect via hotspot (then it tries to connect to ip of service provider)
When I use my phone to go to the website it does succeed in connecting, it is then most likely in the settings of my Macbook Pro (Big Sur)
Does anyone have an idea what it could be?
Enable remote database access on the database source.
That's why you're getting that message.

Spring Mysql not using application.properties file data correctly on remote IPs

I'm trying to build a web app, using spring.
No problem after all trying and erroring. i'm just learning it for now.
but, just in first steps i stumbled with a problem that could not let me proceed.
in my application.properties, i set up my remote mysql server, as shown by the spring.io tutorial
/src/main/resources/application.properties
spring.jpa.hibernate.ddl-auto=create
spring.datasource.url=jdbc:mysql://54.234.45.12:3306/*DBNAME*
spring.datasource.username=*user*
spring.datasource.password=*pass*
but when running springboot app, it show the following error:
java.sql.SQLException: Access denied for user
'springuser'#'189-45-120-154.user.veloxzone.com.br' (using password:
YES)
which, by the way, is my own IP, not the remote one.
and i cant make it point to the remote.
using localhost,
spring.datasource.url=jdbc:mysql://localhost:3306/*DBNAME*
changes the output to:
java.sql.SQLException: Access denied for user 'springuser'#'localhost'
(using password: YES)
I can't understand why is not pointing on the internet.
this is an amazon AWS IP, which i can connect remotely with no problems...
(ps.: IPs are changed for obvious reasons)
thanks in advance.
path of file:
i had a trailing space in my password field.
sorry about that, internet!
I appreciate the effort!

MySQL Server Connection in PhpStorm 2016

This seems like the most annoying thing in the world, but for some odd reason, I'm not able to connect my MySQL DB in PhpStorm (as a data source). It constantly tells me that the user/password combo is incorrect. Here's the complete error message:
The specified user/password combination is rejected: [28000][1045] Access denied for user 'my_username'#'localhost' (using password: YES).
I know for a fact that my credentials are correct. I've checked and double checked. Even created a few new users.
I know that the credentials are correct because the application I'm writing is successfully connected to this DB.
And, as an FYI, the DB I'm trying to connect to is hosted on GoDaddy (shared CPanel Linux hosting).
PS: I've also tried using my website's IP as the host to no avail.

Why can't I set up October CMS on my hosted server?

I have server space with Hostmonster and would like to try October CMS. I've made a MYSQL database and user, added the files to a subfolder via FTP, checked permissions, run the installer with all ticks for the pre-flight check.. I fill out the form and get:
Connection failed: SQLSTATE[28000] [1045] Access denied for user 'xxxxxx_xxxxx'#'xxxxxxxx.hostmonster.com' (using password: YES)
There is a problem with the specified Database configuration.
Can anyone offer any advice?
OK, I solved this one. I think it was down to permissions and the hostname.. both of which needed a change.

Access denied for user 'root'#localhost' (using password: YES)

I am using a piece of hardware called a Meshlium AP, which I use to estimate where people are based on smartphone pings. If I am connected to the meshlium network I can access the management panel at 10.10.10.1.
Originally, I was working on a Windows Laptop and when connected to the Meshlium network, within their Management system (located at 10.10.10.1) I have the option to go to phpMyAdmin on local host to download the SQL data. I was able to login with the supplied username and password. I am still able to do this easily
I am now working on a Mac and when I attempt to login phpMyAdmin through their management system, I get this error "Access denied for user 'root'#localhost' (using password: YES)". I am using the same username and pass that still currently works on the PC
I have a feeling it might be some permission issues, but I have no idea how or what to change.
Any thoughts on how or what permissions I can change to gain access?
If you're sure that the password is correct then it sounds like the 'host' for the user is only localhost, and not setup to allow other hosts (even on LAN) to connect.