Re: lug-bg: PHP i MySQL vav Slack9
- Subject: Re: lug-bg: PHP i MySQL vav Slack9
- From: danchev@email.domain.hidden (George Danchev)
- Date: Wed, 16 Apr 2003 20:49:09 +0300
On 16 04 2003 20:10, gggg ggg wrote:
<em class="quotelev1">> Adash az dokato 4akam za otgovori vzeh ta mahnah
<em class="quotelev1">> paketa php-4.neshtosi.tgz i si go kompilirah ot source
qvno sega uceli ....oba4e pravish vs4iko naizust i ako stane, stane, demek try
and error....a i4 ne trebe da byde taka, ama hi4 ;-) ... kato i da e ...
Sega tova so file, mysql.so e ve4e build-nato i installed kato orata i php4 se
link-va s nego i taka pridobiva funkcoinalnst da otvarq socket (AF_UNIX ili
AF_INET , t.e. unix domain socket ili TCP inet socket, stoplqsh li ;-) i da
operate-va s mysql-a... ili kvoto i da e tam ... IPC pyk e another way za
process communications... ama tfa e druga tema ...
<em class="quotelev1">> sega mi varza za mysql-a
<em class="quotelev1">> no pak zaedno PHP+MySQL se darjat mnogo
<em class="quotelev1">> stranno.MySQL-a e :
<em class="quotelev1">> mysql Ver 11.18 Distrib 3.23.56, for slackware-linux
<em class="quotelev1">> (i386)
<em class="quotelev1">>
<em class="quotelev1">> i nai-4esto mi vrashta greshka :
<em class="quotelev1">> MySQL said: No Database Selected
<em class="quotelev1">>
<em class="quotelev1">> osven da vzema da drapna source na MySQL-a i da si go
<em class="quotelev1">> kompilna i nego i da prikliu4a s tia gluposti sas
<em class="quotelev1">> skapani paketi ot novi distribucii.
Problema e super trivialen i elementaren. Ama malko ora se zamislqt kakvo
pravqt. V dylbo4ina na intrigata stoj samonadeqnostta na "advanced" users,
takiva kojto si mislqt 4e sa advanced instalirajki kvo im padne i kyde im
padne, i koito ne mislqt kakvo i kak instalirat (nqmam predvid teb, govorq po
prinip). Sega dali ima problem v slackware packages vyobste nqmam namerenie
na razsledvam. Dali ti si pravil bozi ot vida, naprimer: install mysql, php4
i t.n. slackware packages, sled tova install from (upstream) sources
overwrite-vajki otgore files na slackware packages, i sled koeto pak upgrade
na tova deto si installed ot (upstream) sources s novi slackware packages
....e drug vypros ... zabyrkal si boza... Nali se sestash 4e brojq i mqstoto
na files pri raznite versions na software-tata upstream sources i distro
source and binary packages mozhe vyobste, ama vyosteda ne syvpada...
Ako instalirash MySQL ot (upstream) sources, premahni prediinstaliranata
version (dumpi si i si back-ni bazite oba4e, da ima ;-) nezavisomo dali e
installed ot (upstream) soures ili from slackware package.
Mnogo losha praktika e ./configre , make , make install , edinprefix ne
setvate katoorata pone....i tova i pri new install i pri upgrade udri otgore
i taka ...Vazhnoto e 4e kompilime nesto tam, t.e. gledame 4e gcc kompilira,
ama ko i kakstava nqma zna4ka ...
Are spiram 4e onq den vodish podobna diskusijka s podobni "advanced" users...
(nqmam predvid teb, prosto gadnoto kopele Danchev ima losh den ... joke;-)
--
pub 4096R/0E4BD0AB 2003-03-18 (no comments) <danchev_at_spnet.net>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB <keyserver.bu.edu>
============================================================================
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
============================================================================
|