Hi Jim, and all the rest.
Thanks for the help. What was throwing me was the EXACT same creds were being
used to connect via Navicat… but not when using PHP.
Could not figure it out. So I zapped gremlins in BBEdit on my test file..
which had literally no more lines than what I posted to this li
> -Original Message-
> From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
> Sent: Sunday, January 13, 2013 9:13 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Can't connect to MySQL via PHP
>
> Regardless of the choice of interface to mysql, rega
Regardless of the choice of interface to mysql, regardless of the
completely harmless but educational tips from Ash, and very deliberately
ignoring the un-helpful and extraneous comments of others,
I'm wondering how the OP is doing with getting his mysql access working.
Haven't heard from him l
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Sunday, January 13, 2013 8:52 AM
To: admin
Cc: 'tamouse mailing lists'; 'Rick Dwyer'; php-general@lists.php.net
Subject: RE: [PHP] Can't connect to MySQL via PHP
On Sun, 2013-01-13 at
ral@lists.php.net
> > Subject: Re: [PHP] Can't connect to MySQL via PHP
> >
> > On Sat, Jan 12, 2013 at 4:49 PM, admin
> > wrote:
> > > As much as the php list would like to force people from using mysql,
> > I guess you should not have invented it, if you
> -Original Message-
> From: tamouse mailing lists [mailto:tamouse.li...@gmail.com]
> Sent: Saturday, January 12, 2013 7:55 PM
> To: admin
> Cc: a...@ashleysheridan.co.uk; Rick Dwyer; php-general@lists.php.net
> Subject: Re: [PHP] Can't connect to MySQL via PHP
&g
On Sat, Jan 12, 2013 at 4:49 PM, admin wrote:
> As much as the php list would like to force people from using mysql, I guess
> you should not have invented it, if you don't want people to still use it.
It's not this php list. It's the php developers. mysql* functions are
set to be removed in a r
> > >From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> > >Sent: Saturday, January 12, 2013 10:03 AM
> > >To: admin
> > >Cc: 'Rick Dwyer'; php-general@lists.php.net
> > >Subject: RE: [PHP] Can't connect to MySQL via PHP
> > >
Simple test I just did.
A simple script that first connects to mysql and then tries to select a db.
With a uid/pswd that I just made up for the script, I get the following:
Error - Could not connect to database from sql_db_connect
Access denied for user 'albany_ginerjm3'@'localhost' (using
On Sat, 2013-01-12 at 19:53 +, Ashley Sheridan wrote:
>
> admin wrote:
>
> >
> >
> >
> >
> >From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
> >Sent: Saturday, January 12, 2013 10:03 AM
> >To: admin
> >Cc: 'Rick
admin wrote:
>
>
>
>
>From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
>Sent: Saturday, January 12, 2013 10:03 AM
>To: admin
>Cc: 'Rick Dwyer'; php-general@lists.php.net
>Subject: RE: [PHP] Can't connect to MySQL via PHP
>
>
&
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Saturday, January 12, 2013 10:03 AM
To: admin
Cc: 'Rick Dwyer'; php-general@lists.php.net
Subject: RE: [PHP] Can't connect to MySQL via PHP
On Sat, 2013-01-12 at 12:56 -0800, admin wrote:
> ---
On 1/12/2013 1:28 PM, Rick Dwyer wrote:
On Jan 12, 2013, at 3:56 PM, "admin" wrote:
-Original Message-
From: Rick Dwyer [mailto:rpdw...@earthlink.net]
Sent: Saturday, January 12, 2013 8:26 AM
To: php-general@lists.php.net
Subject: [PHP] Can't connect to MySQL via PHP
Hello all.
I
On Jan 12, 2013, at 3:56 PM, "admin" wrote:
>
>
>> -Original Message-
>> From: Rick Dwyer [mailto:rpdw...@earthlink.net]
>> Sent: Saturday, January 12, 2013 8:26 AM
>> To: php-general@lists.php.net
>> Subject: [PHP] Can't connect to MySQL via PHP
>>
>> Hello all.
>>
>> I used the cod
On Sat, 2013-01-12 at 12:56 -0800, admin wrote:
>
> > -Original Message-
> > From: Rick Dwyer [mailto:rpdw...@earthlink.net]
> > Sent: Saturday, January 12, 2013 8:26 AM
> > To: php-general@lists.php.net
> > Subject: [PHP] Can't connect to MySQL via PHP
> >
> > Hello all.
> >
> > I used
> -Original Message-
> From: Rick Dwyer [mailto:rpdw...@earthlink.net]
> Sent: Saturday, January 12, 2013 8:26 AM
> To: php-general@lists.php.net
> Subject: [PHP] Can't connect to MySQL via PHP
>
> Hello all.
>
> I used the code below successfully to connect to a MySQL db on one
> hosti
On January 12, 2013 11:25:58 AM Rick Dwyer wrote:
> Hello all.
>
> I used the code below successfully to connect to a MySQL db on one hosting
> provider. I've moved the code to a new hosting provider with new values
> and it returns:
>
> Access denied for user 'user'@'db.hostprovider.net' (using
if i'm not mistaken, there is nothing to do with the php coding. this
is totally because of your mysql server, simply your mysql server is
not started yet.
sometimes this may be a bug.
http://bugs.mysql.com/bug.php?id=11380
or try this
http://www.faqts.com/knowledge_base/view.phtml/aid/3948
~vi
Hi there!
What code are you using? Try with the mysqli...
http://se2.php.net/manual/en/ref.mysqli.php
/G
- Original Message -
From: "blackwater dev" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, September 13, 2005 3:09 AM
Subject: [PHP] can't connect to mysql
I finally got php5 compiled w
On Monday 02 June 2003 09:15, Chin Hui wrote:
> i'm a newbie in php and mysql. i've just installed mysql 4.0.13 with a
> .tar.gz file. PHP 4.2.2 comes along with my redhat 9 installation.
> I can't seem to connect to mysql with any php scripts. I've noticed a
> package named php-mysql. I've tr
if you are on redhat check and make sure you have the php_mysql... rpm
installed.
Jim
- Original Message -
From: "CDitty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 28, 2003 9:07 PM
Subject: [PHP] Can't connect to mysql
> I just setup my home development server and I
--- CDitty <[EMAIL PROTECTED]> wrote:
> Fatal error: Call to undefined function: mysql_connect()
What version of PHP? This almost always means PHP was built without MySQL
support (the --with-mysql was missing from the configure line, though this
isn't necessary in newer versions). Does phpinfo() s
>Warning: MySQL Connection Failed: Can't connect to local MySQL
server >through
>socket '/tmp/mysql.sock' (111)
Did you read the FAQ Did you check the archive??
Edit your php.ini to match the location of the mysql.sock
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To uns
$link = mysql_connect ("localhost","root","mypassword")
or die ("Could not connect");
I'm pretty sure that the username/password is correct. I can connect
from the linux shell using mysql -u root -p
Dan Cleveland wrote:
>What does your mysql_connect statement look like?
>
>Da
24 matches
Mail list logo