Access to Database

Misternas

New Member
Messages
4
Reaction score
0
Points
1
I am trying to access the database and do not understand which is the host that I have to point. The user must be the username I have from the database without terminating the database name. I do not have enough knowledge but it is not clear how to configure database access from a config file in php.
Hostname = ?
user = eups232
pass = sdsdsds
db = eups232_bd
 

mrburnsx

Community Advocate
Community Support
Messages
511
Reaction score
57
Points
28
hostname is the server your account is on, or localhost would suffice
 

Misternas

New Member
Messages
4
Reaction score
0
Points
1
Using localhost but not working. Does not connect to database.
As username I do not use the e-mail, I use the control panel user with type eupk???? and the database is type eupk???? _?????
 
Last edited:

mrburnsx

Community Advocate
Community Support
Messages
511
Reaction score
57
Points
28
Using localhost but not working. Does not connect to database.
As username I do not use the e-mail, I use the control panel user with type eupk???? and the database is type eupk???? _?????
Try using the same name as db for the username as well.
 

Misternas

New Member
Messages
4
Reaction score
0
Points
1
Thank you. The problem is that the password to access the Cpanel is different from the one for the database. Problem solved.

By the way, do you know if PhpMailer works on this server?
 
Last edited:
Top