Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-07-17 18:32:00
- RAW
- New Member
- Registered: 2006-07-17
- Posts: 8
Newbie having trouble with install
Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) in /export/home/ir/ironnipplez/public_html/text/textpattern/setup/index.php on line 189
Can’t connect to database
This is the error message I’m getting.
I don’t have a clue how to use mySQL. I know that my webhoster has set it up for me.
I can log into the PHPAdmin page and see the server name and that stuff.
What am I doing wrong?
Thanks
Offline
Re: Newbie having trouble with install
Is your database set up correctly?
Did you set it to localhost? Or is it on a different server?
Do you have access to /tmp/mysql.sock?
Is it read/writeable by www?
Does your host provide an example that you can reference to show us how they recommend connecting to the db using php?
Offline
#3 2006-07-17 20:07:11
- RAW
- New Member
- Registered: 2006-07-17
- Posts: 8
Re: Newbie having trouble with install
Actually, I finally stumbled on the correct combination of variables.
My problem was that my server info was listed as mysql.webhero.com
I tried mysqlconnect.webhero.com and that solved the problem.
Now I just gotta figure out how to change some stuff on this template I’ve downloaded!
Thanks
Offline
Pages: 1