You are here: Re: my php can't connect the mysql « PHP Programming Language « IT news, forums, messages
Re: my php can't connect the mysql

Posted by Jerry Stuckle on 08/17/07 17:20

zhenwenxu@gmail.com wrote:
> On Aug 17, 9:31 am, Rik <luiheidsgoe...@hotmail.com> wrote:
>> On Fri, 17 Aug 2007 03:18:45 +0200, zhenwe...@gmail.com
>>
>>
>>
>>
>>
>> <zhenwe...@gmail.com> wrote:
>>> On Aug 16, 9:48 am, Michael Fesser <neti...@gmx.de> wrote:
>>>> .oO(zhenwe...@gmail.com)
>>>>> A question : why my php can't connect the mysql.
>>>>> my php version is 5.014 and my mysql version is also 5.0,
>>>>> but i run them on the windows xp system.
>>>>> who knows the real problem?
>>>> Could be anything. What does mysql_error() return? Is error_reporting
>>>> set to E_ALL?
>>>> Micha
>>> here is the error messages:
>>> 1:
>>> #1045 - Access denied for user 'SYSTEM'@'localhost' (using password:
>>> NO)
>>> Warning: mysql_connect() [function.mysql-connect]: Access denied for
>>> user 'SYSTEM'@'localhost' (using password: NO)
>>> 2:Could not connect: Access denied for user
>>> 'SYSTEM'@'localhost' (using password: NO)
>>> 3:#1045 - Access denied for user 'SYSTEM'@'localhost' (using password:
>>> NO)
>>> [Documentation]
>>> http://www.mysql.com/doc/en/Error-returns.html
>>> It showed me three different error messages becouse of my different
>>> test.
>> Well, exactly as it sais, you cannot connect to mysql as the user 'SYSTEM'
>> without a password. Either create that user or change the code to a
>> user/pass that can. (Hint: if you haven't touched your MySQL installation,
>> you _can_ connect with user 'root' and no password. It's advisable give it
>> a password though).
>> --
>> Rik Wasmus- Hide quoted text -
>>
>> - Show quoted text -
>
> no.My php script which is used to connect to my mysql user the user
> name 'root' and
> password,but I still can't connect to mqsql.
>
> But it can connect to mysql with 'root' and my passwoed by mysql admin
> tools.
>
> Also the phpadmin can't connect to the mysql,I think my php script is
> right.
>
> I think there is something wrong with my mysql.
>

I think there's something wrong with your code. Try posting it.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация