login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
June
»
1
Re: Mysql connection from within php
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Bret S. Lambert
Subject:
Re: Mysql connection from within php
Date: Tuesday, June 1, 2010 - 7:45 am
On Tue, Jun 01, 2010 at 04:30:34PM +0300, What you get is Not what you see wrote:
quoted text
> Freshly installed on openbsd 4.6 mysql,php and php5-mysql packages. > Done the configs. Now php and mysql works. But I couldnt make it > connect to mysql from within php with such a command > mysql_connect("localhost","user","pass") > It used to give "Cant connect to mysql through socket error" till I > change the command to > mysql_connect(127.0.0.1,"user","pass") > I want to learn why? >
cat /etc/resolv.conf && cat /etc/hosts
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Mysql connection from within php
, What you get is Not ...
, (Tue Jun 1, 6:30 am)
Re: Mysql connection from within php
, L. V. Lammert
, (Tue Jun 1, 6:45 am)
Re: Mysql connection from within php
, Paul D. Ouderkirk
, (Tue Jun 1, 6:51 am)
Re: Mysql connection from within php
, Bret S. Lambert
, (Tue Jun 1, 7:45 am)
Re: Mysql connection from within php
, Vadim Agarkov
, (Tue Jun 1, 9:41 am)
Re: Mysql connection from within php
, Eugene Yunak
, (Wed Jun 2, 6:06 am)
Re: Mysql connection from within php
, Liviu Daia
, (Wed Jun 2, 10:48 am)
Re: Mysql connection from within php
, Eugene Yunak
, (Wed Jun 2, 11:47 am)
Re: Mysql connection from within php
, Liviu Daia
, (Wed Jun 2, 12:28 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trenton D. Adams
Re: Flash IO slow 1.5 MB/s
Alan Cox
Re: Please add ZFS support (from GPL sources)
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Juergen Ruehle
Re: [ANNOUNCE] Guilt 0.16
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
net: don't grab a mutex within a timer context in gianfar
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
David Miller
Re: [RFC 0/5] generic rx recycling
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Colocation donated by:
Syndicate