Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2009-02-02 13:40:45

philipPF
Member
Registered: 2009-02-02
Posts: 1

[Install] - specifying socket for mysql connection

Hi !

If you need to specify the socket to connect to the mysql database for the installation, you just have to write it after the host, in the same way it would be for a port number, i.e. :

host = host:/path/to/socket
(for exemple localhost:/tmp/mysql.sock)

i had to do it and it works, hope it will help somebody one day wink

(for other mysql connection infos, fluxbb seems to use the php function "mysql_connect()", here is the documentation, and by the way how you need to fill "install.php" fields : http://fr.php.net/mysql_connect)

Cheers

Offline

#2 2009-02-03 04:18:57

qie
Member
Registered: 2008-06-02
Posts: 379

Re: [Install] - specifying socket for mysql connection

thanks for sharing,i ve used it years but don't know what this "socket to connect to mysql" do.
is it used for Flash site?

Last edited by qie (2009-02-03 04:19:17)

Offline

#3 2009-02-03 13:03:56

Dave
Guest

Re: [Install] - specifying socket for mysql connection

It has nothing to do with Flash.  An installation of MySQL may specify any socket (port) and philipPF was explaining the proper syntax to use if an installation of MySQL happens to use a non-standard support (ie: the default port MySQL uses).

#4 2009-02-03 13:06:01

MattF
Member
From: South Yorkshire, England
Registered: 2008-05-06
Posts: 1,233
Website

Re: [Install] - specifying socket for mysql connection

Dave wrote:

It has nothing to do with Flash.  An installation of MySQL may specify any socket (port) and philipPF was explaining the proper syntax to use if an installation of MySQL happens to use a non-standard support (ie: the default port MySQL uses).

Beaten to the correction. big_smile Just to be a pedant, however, a socket and a TCP port are two totally different things. smile


Screw the chavs and God save the Queen!

Offline

#5 2012-11-12 18:35:38

OriginalSyn
Member
Registered: 2011-11-16
Posts: 1

Re: [Install] - specifying socket for mysql connection

Note: You cannot use the mysqli_innodb adapter when specifying a socket since it uses a different set of parameters that includes a separate argument for the socket file path to connect you must use  the mysql_innodb instead.

Last edited by OriginalSyn (2012-11-12 18:37:14)

Offline

#6 2012-11-12 21:45:22

Mark
Member
From: Southport, Uk
Registered: 2008-05-03
Posts: 549

Re: [Install] - specifying socket for mysql connection

why bring up a post from 3 years ago?!!

Offline

Board footer

Powered by FluxBB