Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: problem: php/apache/mysql


  • Subject: Re: lug-bg: problem: php/apache/mysql
  • From: dobber@xxxxxxxxxx (Ivan Dimitrov)
  • Date: Fri, 30 Aug 2002 11:34:28 +0300 (EEST)



sheib: vij che scripta v deastvitelnost vrushta otgovor, inache shteshe da
dava Internel Server Error:P* :)
Peter: mysql ne sum kompiliral, direktno go izteglix kato debianski paket
(sid). obache predi da pisha v grupata prekompilirax apache+php i
removenax i posle pak installnax mysql-a. nqmashe promqna. sega mislq pak
da napravq sushtiq fokus s mysql-a kato removena i basata i go ostavq da
si sazdade svoqta nanovo.
pojelaite mi uspex.:)

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Ideas, like everything else in life, deserves to be free.

On Thu, 29 Aug 2002, sheib wrote:

>
> chmod 777 /www/a.php
>
> /s
>
>
> On Thu, 29 Aug 2002, Ivan Dimitrov wrote:
>
> > imam edin mnogo interesen sluchai, i zapochvam da se sduxvam che ne moga
> > da izmislq zashto se poluchava taka:
> >
> > apache 1.3.26
> > php 4.2.2
> > mysql 3.23.51
> >
> > pri izpulnenie na tozi php skript
> >
> > cat >> a.php < EOF
> > <?
> > $dbh = mysql_connect('localhost','root','parola') or die("FUCK");
> > $SQL = "show tables";
> > if(!$result = mysql_db_query('base',$SQL,$dbh)) exit("OFFF");
> > while($row=mysql_fetch_array($result)){
> >    echo $row[0]."<br>";
> > }
> > ?>
> > EOF
> >
> > se ochakva da mi izkara vsichki tablici v 'base', no mi vrushta:
> >
> > --------------from web----------------------------------------------------
> > Warning: Access denied for user: 'root@localhost' (Using password: NO) in
> > /www/a.php on line 2
> >
> > Warning: MySQL Connection Failed: Access denied for user: 'root@localhost'
> > (Using password: NO) in /www/a.php on line 2
> > FUCK
> > --------------stop:)------------------------------------------------------
> > zabelejete che izpisva Using password: NO
> > i tuk idva strannoto, ot mysql.log
> > --------------------------------------------------------------------------
> > 020829 15:04:07       8 Connect     Access denied for user:  'root@localhost' (Using password: YES)
> > --------------------------------------------------------------------------
> >
> > i za iznenada na vsichki komandada:
> > mysql -pparola base -h localhost -u root
> > raboti!!!!! sirech, v mysql pravata sa pravelni
> > produljix da si igraq sas skripta kato smenix IP-to i usera, v
> > mysql.log-a produljavashe da mi izpisva root@localhost. nemoga da
> > predpoloja che sa nqkade hardcodenati neshtata zashtoto nesa nikade po
> > konfigite. sushtiq skript raboti na drugi mashini sas sushtata
> > konfiguracia.
> >
> > nadqvam se da ne vi oburkal s tezi obqsneniq...
> > predlojeniq?
> > blagodarq predvaritelno
> >
> >
> > ============================================================================
> > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> > http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
> > To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> > ============================================================================
> >
>
> ============================================================================
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
> ============================================================================
>

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.