Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-10-31 14:17:16

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

cant connect to database

Hi I am using a clients existing cheap hosting package to install a txp site. The host uses cpanel which made it easy to create a database but i cant connect to it.

heres the error:

————————-

Checking database connection…

Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘aras_db’@‘localhost’ (using password: YES) in /home/arasgcc/public_html/textpattern/setup/index.php on line 195

Can’t connect to database

—————————————————————

After doing a search on the forum here and it looks like maybe i have to use some other server path to the txpattern install besides local host?

All I have in that department is this info:
cpanel url
URL: http://arasgcc.com:2082
Alternative URL: http://yaggie.flexihostings.net:2082

The host has no contact or support at all.

Is there anyway i can trouble shoot and find the correct server path myself?
If that is the problem.
thanks in advance


its a bad hen that wont scratch itself.
photogallery

Offline

#2 2007-10-31 14:56:24

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: cant connect to database

Perhaps the database doesn’t exist yet or the password is incorrect.

Offline

#3 2007-10-31 15:09:43

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: cant connect to database

Hi ruud,
Database shows up in cpanel, just created the password this morning.


its a bad hen that wont scratch itself.
photogallery

Offline

#4 2007-10-31 15:14:50

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: cant connect to database

did you check that you are using the right db name?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2007-10-31 15:16:27

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: cant connect to database

is there a way to tell what the exact error is.


its a bad hen that wont scratch itself.
photogallery

Offline

#6 2007-10-31 15:23:13

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: cant connect to database

did you check that you are using the right db name?

yes im using the name that i just created thats listed in cpanel.


its a bad hen that wont scratch itself.
photogallery

Offline

#7 2007-10-31 19:29:11

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: cant connect to database

If I’m not mistaken cpanel creates databases with names like username_dbname, so if you enter a db name ‘username_’ will always be added as a prefix. And you have to use the full name when installing txp.

Offline

#8 2007-11-01 09:42:38

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: cant connect to database

Your right els,
thanks


its a bad hen that wont scratch itself.
photogallery

Offline

Board footer

Powered by FluxBB