Unable to open PDO connection

Status
Not open for further replies.

germana

New Member
Messages
7
Reaction score
0
Points
0
Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'root'@'boru.x10hosting.com'

why is this?
is my DB server wrong: mysql-boru.x10hosting.com ¿?
which should be my data base server direction?

Thanks
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
Unable to open PDO connection [wrapped: SQLSTATE[28000] [1045] Access denied for user 'root'@'boru.x10hosting.com'

why is this?
is my DB server wrong: mysql-boru.x10hosting.com ¿?
which should be my data base server direction?

Thanks

Hi germana,

First, you can't use 'root' as username. The username you may use are in the form of 'your-cpanel-username_database-username'. As for the database, the host is 'localhost'.
 

germana

New Member
Messages
7
Reaction score
0
Points
0
ok, so i have 2 users:

germana_germana
germana_root

and my DB: germana_indepabis

So, im using my symfony connection as follows:

all:
propel:
class: sfPropelDatabase
param:
classname: PropelPDO
phptype: mysql
hostspec: localhost
database: germana_indepabis
username: germana_germana
password: ****
encoding: utf8
persistent: true
pooling: true
datasource: propel
dsn: mysql:dbname=germana_indepabis;host=localhost


But no matter this, the error still is the same..
What am i doing wrong??

THANKS
 
Status
Not open for further replies.
Top