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

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.

Related

Can't connect to to siteground database with SQL

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.

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 security and symfony2

Working with Symfony2.3.4 and Xampp with PHP 5.6.3.
Basically my goal is to prevent anyone from tampering with the database tables directly via any manager(for example: phpmyadmin which comes with xampp via localhost/phpmyadmin/)
I'd like to find a way to set a password.
I looked for an option in phpmyadmin to set some type of security and found none.
I tried to set a password for the database via the config interface provided by the AcmeDemoBundle which i've always used to set the parameters.yml, all that did was to throw this at my face:
SQLSTATE[HY000] [1045] Access denied for user 'root'#'localhost' (using password: YES)
I need to know what I'm missing, is there a way to continue from here, or am I doing it wrong right from the beginning.
Remember: the goal is to let no one without authorization access the tables of the database in any way.
thank you
Thanks guys, I found what I needed here, answered by Anagio,
in the end what I had to do was to change the auth_type from config to http and voilá, a prompt appears when I hit localhost/phpmyadmin/ asking for user and pass.
Now all I have to do is to set a password for localhost and no one will be able to do anything to the database from outside the symfony app (hopefully)

Cannot find the databaseAccess denied for user ''#'localhost' to database 'dbname' in Magento

I have migrated the Magento files from live server to localhost by following the link. Made changes as per the link. When I load the file on my localhost the front end with templates and design are loaded properly but throwing an error like Cannot find the databaseAccess denied for user ''#'localhost' to database 'dbname'. Any one help me what are the changes need to be done.
Thanks in advance.
You have to change the database creditials in the app/etc/local.xml. In this file try to change following
<username></username>
<password></password>
<dbname></dbname>
to your local host phpmyadmin creditials.

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.