Keresés

Részletes keresés

BOB Creative Commons License 2001.08.24 0 0 3
Imho tokmindegy, ha muxik a leferditett cuccos ugyis rm -rf lesz a sorsa a forrasnak ;]]]
Előzmény: NevemTeve (2)
NevemTeve Creative Commons License 2001.08.24 0 0 2
Sot, nagyon kifonumlt felhasznalok a /usr/local/src -ben forditanak :-)
BOB Creative Commons License 2001.08.24 0 0 1
Na ezt jok elcsesztem ;]]]]]]]]

Szoval az elso lepes:
# cp mysql-3.23.41-pc-linux-gnu-i686.tar.gz /usr/src; cd /usr/src; tar xzvf mysql-3.23.41-pc-linux-gnu-i686.tar.gz

A tobbi stimmol ;]

Előzmény: BOB (0)
BOB Creative Commons License 2001.08.24 0 0 0
Maraggyunk a konvencioknal:

A forrast imho ne az /usr/local konyvtarban, hanem az /usr/src konyvtarban csomagold ki, a make install ugyis berakja a binarisokat meg a libeket meg a konfigfileokat a megfelelo helyre.

Szoval:
# cp mysql-3.23.41-pc-linux-gnu-i686.tar.gz /usr/local; cd /usr/local; tar xzvf mysql-3.23.41-pc-linux-gnu-i686.tar.gz

Aztan belepsz a forraskonyvtarba:#
cd mysql-3.23.41-pc-linux-gnu-i686

Es itt lehet a forrast eloszor konfiguralni:
# ./configure --prefix=/usr/local/mysql
# make
# make install

De ezeket mind az /usr/src/mysql-3.23.41-pc-linux-gnu-i686 konyvtarban.

Aztan megnezed, mi torent az /usr/local/mysql konyvtarban, elvileg ott kell lennie a bin/ alkonyvtarnak, es abban a mysql_install_db scriptnek.

A tobbi imho menni fog (mysql_setpermission; stb.)

Előzmény: MySQL (-)
MySQL Creative Commons License 2001.08.23 0 0 topiknyitó
Sziasztok!

Mint a temabol is latszik, MySQL telepitessel kapcsolatban szeretnem a
segitsegeteket kerni. Mar regota foglalkozom MySQL, Apache, PHP
kapcsolataval, eddig Winfos alatt nagyszeruen ment minden, most attertunk
Linuzera es a MySQL telepitese nagyon nem akar sikerulni. A dist. Debian 2.2,
a mysql verzioja pedig 3.23.41. Az apache webszerver tokeletesen mukodik, a
MySQL nem,kerlek segitsetek megtalani, mi lehet a hiba:

shell> tar xvzf mysql-3.23.41-pc-linux-gnu-i686.tar.gz
A mysql-3.23.41-pc-linux-gnu-i686 konyvtar letrejott a /usr/local
konyvtarban.
shell> cd mysql-3.23.41-pc-linux-gnu-i686
shell> ./configure --prefix=/usr/local/mysql
ok, ez lefut, kiirja, hogy a ./bin/mysqladmin version beirasaval
tesztelhetem, ok sikerul, minden jo, de ez mind a
/usr/local/mysql-3.23.41-pc-linux-gnu-i686 konyvtarban tortenik,
/usr/local/mysql -nek nyoma sincs. Azert folytatom a manual altal irtakat:

shell> make
make: *** No targets specified and no makefile found. Stop.
shell> make install
make: *** No rule to make target 'install'. Stop.
shell> scripts/mysql_install_db
shell>
shell> cp support-files/my-medium.cnf /etc/my.cnf
shell> chmod +x support-files/mysql.server
shell> support-files/mysql.server start

support-files/mysql.server: @HOSTNAME@: command not found
support-files/mysql.server: cd: /usr/local/mysql: No such file or directory
debian:/usr/local/mysql-3.23.41-pc-linux-gnu-i686# touch:
/usr/local/mysql/data/debian.err: No such file or directory
chown: /usr/local/mysql/data/debian.err: No such file or directory
Starting mysqld daemon with databases from /usr/local/mysql/data
./bin/safe_mysqld: /usr/local/mysql/data/debian.err: No such file or
directory./bin/safe_mysqld: /usr/local/mysql/data/debian.err: No such file
or directorytee: /usr/local/mysql/data/debian.err: No such file or
directory
010823 17:48:41 mysqld ended
tee: /usr/local/mysql/data/debian.err: No such file or directory

Kb ennyi, fogalamam sincs, hogy lehetne v.hogy elinditani, kerlek titeket
segitsetek...

Udv:
MySQL

Ha kedveled azért, ha nem azért nyomj egy lájkot a Fórumért!