1
blindman
custom socket - how to install?
  • 2007/9/3 17:42

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


Hy.
I,ve installed some XOOPS sites by now without peoblems, but 1 hoster have the following case:
They told me
Connection to MySQL: You can only connect by socket to the MySQL instance.
And than explained to me what to set for phpmyadmin.

PHPMyAdmin configuration:
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '/data/web/clientname/var/lib/mysql/mysql.sock';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['extension'] = 'mysql';
Most common problem is a wrong path to the socket. Do not connect via tcp port 3306, this will not
work. You need to use your own socket, which is
/data/web/clientname/var/lib/mysql/mysql.sock .Use MySQL with options –p –u root, you
don’t need a password

Anyway, I did created with this installed phpmyadmin a database "test"

My problem is that in instalation procces I don't know what user / pass to set for database.
dbname -> test
dbuser -> root or something???
dbpass -> nothing or what?

How to tell XOOPS that MySQL use here custom socket? maybe it doesn't connect because XOOPS try to use default socket?

I can't figure out.
Anybody can help me with this?
Don't follow me. I'm lost too.

2
blindman
Re: custom socket - how to install?
  • 2007/9/3 20:20

  • blindman

  • Not too shy to talk

  • Posts: 119

  • Since: 2005/6/26


I've got it.
For this kind of MySQL socket, on the install process, put localhost:path/to/custom/mysql/socket
Worked for me.
Don't follow me. I'm lost too.

Login

Who's Online

271 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 271


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits