Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-09-03 21:25:30

goodmixer
New Member
Registered: 2006-09-03
Posts: 3

Install problems : Can't connect to database

<p>If anyone can help it would be great. I&#8217;m so new to textpattern I can&#8217;t even get past the install&#8230;..</p>

<p>During setup i&#8217;m getting the following</p>

<p>Checking database connection&#8230;</p>

<p>Warning: mysql_connect(): Access denied for user: &#8216;user@localhost&#8217; (Using password: YES) in /home/httpd/vhosts/mysite.com/httpdocs/textpattern/setup/index.php on line 188</p>

<p>Can&#8217;t connect to database.</p>

<p>I&#8217;m using the plesk control panel to create the mysql database and the server is running PHP Version 4.3.2.</p>

<p>I&#8217;m unsure how to check the version of mysql. Also the <a href=“http://textbook.textpattern.net/wiki/index.php?title=Detailed_Installation_Instructions”>Detailed install instructions</a> say &#8220;and you&#8217;ll need to have set the database login account with &#8220;write&#8221; privileges.&#8221; Not sure how to do this either.</p>

<p>Any pointers?</p>

Offline

#2 2006-09-04 02:27:22

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Install problems : Can't connect to database

For starters, troubleshooting questions go in the Troubleshooting forum.


Alex

Offline

#3 2006-09-04 02:28:44

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Install problems : Can't connect to database

The MySQL username or password you are using is incorrect.

Your hosting company should provide documentation on how to create a MySQL database and user.


Alex

Offline

#4 2006-09-04 08:28:37

goodmixer
New Member
Registered: 2006-09-03
Posts: 3

Re: Install problems : Can't connect to database

Alex,

Thanks for replying to such a newbie question. I was putting the databasename in the username box and vise-versa. Just goes to show that working while tired is a waste of time. Thanks again.

Offline

#5 2006-09-04 08:42:44

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

Re: Install problems : Can't connect to database

some servers prefer the database name (ie. mysql.host.com) to localhost. I’m not sure which host you are using but did you try that?


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

Offline

Board footer

Powered by FluxBB