[newbie] Re: MySQL DB Connection to Open Office
SOTL wrote: Hi All Well I have ascertained that the principal reason that I am unable to connect to a DB using OO is that Java is not installed in OO. Java is installed on the computer but the OO-1.9 installation did not recognize this so now the first issue is how does one install Java into OO. Since there is a principal reason there must by necessity be as least one more reason which I am sorry to say is another installation issue of software into OO. It also appears that even though there are drivers for JDBC installed in OO-1.1 which is also installed on this box that OO-1.9 does not recognize these drivers existence so again the question is how does one go about installing these drivers into OO. The issue is not where to down load Java or the drivers or which Java and drivers are needed but in how to install both Java and the JDBC drivers. Would appreciate a little enlightnment of how one goes about making these installations. Thanks Frank Hi Frank Have you tried Tools-Options-OpenOffice.org-Java ? On my installation OOo 2.0 Beta (1.9.79) this found my installed JRE, and gives the option to add others. HTH Russell Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Accessing MySQL
When I had installed MDK 10.0 I also had the apache web server, everything related to PHP, and MySQL installed during the initial installation and been updating them when they needed to be updated. I build websites for the fun of it, but I'm having trouble accessing the database. Would I need go into the Konsole and set myself up in MySQL. I had always used Fox Serv, when it installed in my windows hdd it set everything up including the MySQL during the installation. Bobby Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Accessing MySQL
On Sunday 12 September 2004 17:04, Bobby wrote: When I had installed MDK 10.0 I also had the apache web server, everything related to PHP, and MySQL installed during the initial installation and been updating them when they needed to be updated. I build websites for the fun of it, but I'm having trouble accessing the database. Would I need go into the Konsole and set myself up in MySQL. I had always used Fox Serv, when it installed in my windows hdd it set everything up including the MySQL during the installation. Bobby Yes any application accessing the mySQL database will need a user name and password defined. (Do not use root) The best way to manage MySQL IMO is to install phpMyAdmin read the instructions at /usr/share/doc/phpMyAdmin and then point your browser at http://localhost/admin/phpMyAdmin/index.php Be careful with security. It is important to make sure the phpMyAdmin page is not visible from the internet derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
RE: [newbie] Accessing MySQL
I guess I woke up cranky this morning. (Still working on my 1st cup of coffee.) What is it you are wanting to do? You can access MySQL from Apache, perl, C, etc. You can administer MySQL from phpMyAdmin (a web interface). Bill RANT Why do ppl ask for help and only give vague descriptions? I installed xyz and it doesn't work! How can I fix it? /RANT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bobby Sent: Sunday, September 12, 2004 12:05 PM To: [EMAIL PROTECTED] Subject: [newbie] Accessing MySQL When I had installed MDK 10.0 I also had the apache web server, everything related to PHP, and MySQL installed during the initial installation and been updating them when they needed to be updated. I build websites for the fun of it, but I'm having trouble accessing the database. Would I need go into the Konsole and set myself up in MySQL. I had always used Fox Serv, when it installed in my windows hdd it set everything up including the MySQL during the installation. Bobby Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Accessing MySQL
Derek Jennings wrote: On Sunday 12 September 2004 17:04, Bobby wrote: When I had installed MDK 10.0 I also had the apache web server, everything related to PHP, and MySQL installed during the initial installation and been updating them when they needed to be updated. I build websites for the fun of it, but I'm having trouble accessing the database. Would I need go into the Konsole and set myself up in MySQL. I had always used Fox Serv, when it installed in my windows hdd it set everything up including the MySQL during the installation. Bobby Yes any application accessing the mySQL database will need a user name and password defined. (Do not use root) The best way to manage MySQL IMO is to install phpMyAdmin read the instructions at /usr/share/doc/phpMyAdmin and then point your browser at http://localhost/admin/phpMyAdmin/index.php Be careful with security. It is important to make sure the phpMyAdmin page is not visible from the internet derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com When ever I use phpMyAdmin I always rename it and setting it so have to log in whenever I access phpMyAdmin. I thought I might had to setup the a user just wasn't sure. Oh yeah most of the time I use MySQL Control Center at which both has it's good and bad point when I was dealing with this in windows. Bobby Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] Accessing MySQL
Bill Shirley wrote: I guess I woke up cranky this morning. (Still working on my 1st cup of coffee.) What is it you are wanting to do? You can access MySQL from Apache, perl, C, etc. You can administer MySQL from phpMyAdmin (a web interface). Bill RANT Why do ppl ask for help and only give vague descriptions? I installed xyz and it doesn't work! How can I fix it? /RANT -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bobby Sent: Sunday, September 12, 2004 12:05 PM To: [EMAIL PROTECTED] Subject: [newbie] Accessing MySQL When I had installed MDK 10.0 I also had the apache web server, everything related to PHP, and MySQL installed during the initial installation and been updating them when they needed to be updated. I build websites for the fun of it, but I'm having trouble accessing the database. Would I need go into the Konsole and set myself up in MySQL. I had always used Fox Serv, when it installed in my windows hdd it set everything up including the MySQL during the installation. Bobby Sorry Bill if it seems vague, and myself I just got up about ten minutes before I got on my computer. I'm not familiar with how MDK install MySQL during the initial installation, if it set my login name into linux up with MySQL or not and if I mneed to go in and setup a user name in MySQL. Because in windows I used Fox Serv and it set everything up. Bobby Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] updating mysql using urpmi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, If I update mysql using urpmi, will it delete all my databases and privileges? Thanks. - -- Fajar Priyanto | Reg'd Linux User #327841 | http://linux.arinet.org 22:38:32 up 3:27, Mandrake Linux release 9.2 (FiveStar) for i586 public key: https://www.arinet.org/fajar-pub.key -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAnP9Lkp5CsIXuxqURAo6zAKChsIgVIIldI7m94V0C+aN+iRt2+wCfTtmh 809VvAzVDm/fZsTpH3Wzv2M= =7DEu -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] updating mysql using urpmi
Op Sat, 8 May 2004 22:39:52 +0700 schreef Fajar Priyanto: If I update mysql using urpmi, will it delete all my databases and privileges? Thanks. No, it would only update the software. Paul -- Stay light, but trust gravity! http://www.nlpagan.net/linux.htm Have you visited http://twiki.mdklinuxfaq.org yet? Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] install mysql with Mandrake CD's
The errors was that all depencies of mysql was conflicting with mysql-4.0.15.2mdk.. Now that's was weird. By the time you will read, I've already installed mysql with the source tarballs. I'm satisfied by the way I did it but it works. In my case, it seems that I have to start mysqld_safe with another port than the one by default (3306). Another strange thing, my /tmp cannot be read by mysqld_safe. I saw the localhost.err log file. Dit I miss something here? Song. --- song [EMAIL PROTECTED] wrote: Hi All, I tried to install mysql that come with the CD but I get conflict errors. I did it with rpmdrake GUI (Install Package from the menu) on my mandrake 9.2. Did someone have this problem? TIA Song Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] install mysql with Mandrake CD's
Hi All, I tried to install mysql that come with the CD but I get conflict errors. I did it with rpmdrake GUI (Install Package from the menu) on my mandrake 9.2. Did someone have this problem? TIA Song Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
R: R: R: R: [newbie-it] MySQL Problema avvio o installazione
L'ultima della serie è che dopo aver installato la red hat ho spianato di nuovo tutto, perché scaricavo i sorgenti di mysql php e apache e non capivo nulla di dove cavolo li andava a infilare e come, infatti non metteva i file nella directory home, ma in tmp, cambiando il nome ma mantenendo l'estensione tar.gzinoltre non riuscivo ad aprire in alcun modo il file manager in modalità super utente. Allora ho installato di nuovo la mandrake (la 9.0 stavolta); a parte il fatto che non mi funziona la scheda audio (e non ho la più pallida idea di come farlo,, visto che è una sound blaster supportata), adesso riprovo tutte le configurazioni di nuovo. All'amico che lamenta le difficoltà da superare dico che ha ragione, e di windows non ne posso + nemmeno io, però ho l'impressione che per un utente medio basso (come posso essere anche io), che vuole tutte le periferiche e l'hardware supportato (specie quello multimediale), senza tante storie di riconoscimento ecc., linux sia ancora un po' troppo una rottura di palle: mica tutti hanno voglia di stare lì a configurare e riconfigurare a installare e disinstallare...guarda che lo dice uno che di windows non ne può più...per me sono dei mafiosi e basta, quindi.. Per lo specifico, sì certo che mysql era in esecuzione, non era quello il problema, ma quello che segnala l'amico Fabio Manunza, qui sotto: mancanza di librerie su dei moduli mysql che facevano casino con il modulo php -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di toto Inviato: domenica 12 ottobre 2003 20.14 A: [EMAIL PROTECTED] Oggetto: Re: R: R: R: [newbie-it] MySQL Problema avvio o installazione Fabio Manunza ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 07:38, sabato 11 ottobre 2003, carlo_canepa ha scritto: Grazie per il tuo interessamento. Sì mysql è installato bene, visto che l'ho installato e disinstallato parecchie volte, sia come sorgente, sia come binario sia come pacchetto rpm, non sono un esperto, ma, almeno da questo punto di vista, credo di sapere, più o meno, quello che faccio. Mi sono talmente rotto di questa situazione che sto pensando di formattare la mandrake e tirare su red hat 9 (di cui non so un accidente, sia chiaro, essendo un neofita di linux in genere), riprovare tutto l'ambaradam e vedere se finalmente va (mi gira storto di arrendermi e fare girare la storia apache php mysql su winspazzatura...opinione personale) Ti giro una risposta che mi è arrivata per il problema Postnuke... Vedi se ti può essere utile. PHP warning Unknown() . Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.10: Cannot open shared object file: No such file or directory on line 0 Non so se riesco a darti la dritta giusta. Il problema potrebbe essre: - - file /etc/php.ini (o simile) ha una riga tipo /percorso/assoluto/mysql.so commentata ed è da scommentare - - c'è da installare una libreria mysql che manca. Probabilmente chiedendo la lista dei pacchetti installabili della tua distro non ancora inseriti puoi vedere quale mysql non c'è ancora (non so che distro usi, ma con MDK, RH, DEB e SLACK questo si può fare). Sperando di essere stato d'aiuto, saluti. - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/iCY5VF8uFQvRMPQRAjjmAJ4ouMBVQnokTTJxIVEhaK41CSerYACgupoN AIJX7qXOOQDcXZ5XsWt307A= =SR8N -END PGP SIGNATURE- Scusate l'intromissione nella querela Ma MySQL è in esecuzione? Da root /etc/init.d/mysql status Se non è in esecuzione allora /etc/init.d/mysql start E poistiamo parlando di un server professionale di database, quindi non pensiamo che basta un click è tutto va!! Qualche intoppo è normale in ogni ambiente Linux, Win o Mac o qualsiasi altro! Non scoraggiamoci perché si trova qualche difficolta a fare qualcosa: Io sono passato a Linux per i continui intoppi avuti sotto windows e da due anni sono un felice utente, anche e spopratutto dopo avere incontrato diverse difficoltà. Per ultimo ogni distribuzione ha i suoi pregi e difetti, per La mandrake ha qualche problemino, ma resta insieme alla Debian l'unica con lo spirito originale del mondo Gnu_Linux: Good Job
Re: [newbie-it] MySQL Problema avvio o installazione
Io con la Mandracchia 9.1 ho notato che rifacendo l'istallazzione del sistema operativo senza formattare naturalmente la directory /var dove è contenuto i file database di mysql alla ristallazione dei pacchetti sql al linkaggio con il server apache php mysql o con mysqlcc o Qt develop mi dava il fatidico errore di conessione al socket (ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Ad occhio effettivamente lo da quando il demone mysql è spento riavvio il server con /etc/init.d/mysql start poi appena laciavo es una pagina php che aveva bisogno di mysql lui si arrestava. in conclusione senza sapere sinceramente che facevo ho salvato i database e poi ho cancellato il file /var/lock/subsys/mysql in quanto avevo notato di non avere i permessi giusti (era lukkato). E magia il demone mysql si è riavviato ed adesso funziona. On Fri, 10 Oct 2003 02:26:31 +0200 Fabio [EMAIL PROTECTED] wrote: Alle 21:01, giovedì 9 ottobre 2003, Eraser Head ha scritto: On Thu, 9 Oct 2003, kudega wrote: Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) .. Io ho una Mandrake 9.1 ed MySQL (versione disponibile nei tre CD della distribuzione) si installa perfettamente. La prima istruzione da dare è la seguente: mysql_install_db che, tra le altre cose, crea la tabella delle autorizzazioni per MySQL. Quindi è necessario impostare la password di root mediante il comando mysqladmin -password newpassword (rammenta di essere root). E' necessario verificare anche il daemon mysqld sia attivo tramite il centro di controllo mandrake (metodo grafico) o tramite il comando mysqladmin -p ping Per quanto attiene kylix, se riuscirai ad interfacciarti tramite le zeos lib, freeclx o altro, fammi sapere poiché io non ci sono riuscito. bye.
Re: [newbie-it] MySQL Problema avvio o installazione
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 21:01, giovedì 9 ottobre 2003, Eraser Head ha scritto a Lista Mandrake in merito a Re: [newbie-it] MySQL Problema avvio o installazione : ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) #touch /var/lib/mysql/mysql.sock #chown mysql.mysql /var/lib/mysql/ -R Chiara - -- bye miKe Slackware 8.1 GNU/Linux 2.4.22 @ ASUS S1N 1330c +- R.U.#219755 -+- S.R.U.#705 -+- R.M.#110932 -+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/iGdeF/9fksDJ4y0RAirVAKCpoN+tseQ8MwPFXKK2HIyNaUGNEgCgty5i VIBnHPTZicIFhbHdZzl29Rc= =Iof5 -END PGP SIGNATURE-
Re: R: R: R: [newbie-it] MySQL Problema avvio o installazione
Fabio Manunza ha scritto: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 07:38, sabato 11 ottobre 2003, carlo_canepa ha scritto: Grazie per il tuo interessamento. Sì mysql è installato bene, visto che l'ho installato e disinstallato parecchie volte, sia come sorgente, sia come binario sia come pacchetto rpm, non sono un esperto, ma, almeno da questo punto di vista, credo di sapere, più o meno, quello che faccio. Mi sono talmente rotto di questa situazione che sto pensando di formattare la mandrake e tirare su red hat 9 (di cui non so un accidente, sia chiaro, essendo un neofita di linux in genere), riprovare tutto l'ambaradam e vedere se finalmente va (mi gira storto di arrendermi e fare girare la storia apache php mysql su winspazzatura...opinione personale) Ti giro una risposta che mi è arrivata per il problema Postnuke... Vedi se ti può essere utile. PHP warning Unknown() . Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.10: Cannot open shared object file: No such file or directory on line 0 Non so se riesco a darti la dritta giusta. Il problema potrebbe essre: - - file /etc/php.ini (o simile) ha una riga tipo /percorso/assoluto/mysql.so commentata ed è da scommentare - - c'è da installare una libreria mysql che manca. Probabilmente chiedendo la lista dei pacchetti installabili della tua distro non ancora inseriti puoi vedere quale mysql non c'è ancora (non so che distro usi, ma con MDK, RH, DEB e SLACK questo si può fare). Sperando di essere stato d'aiuto, saluti. - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/iCY5VF8uFQvRMPQRAjjmAJ4ouMBVQnokTTJxIVEhaK41CSerYACgupoN AIJX7qXOOQDcXZ5XsWt307A= =SR8N -END PGP SIGNATURE- Scusate l'intromissione nella querela Ma MySQL è in esecuzione? Da root /etc/init.d/mysql status Se non è in esecuzione allora /etc/init.d/mysql start E poistiamo parlando di un server professionale di database, quindi non pensiamo che basta un click è tutto va!! Qualche intoppo è normale in ogni ambiente Linux, Win o Mac o qualsiasi altro! Non scoraggiamoci perché si trova qualche difficolta a fare qualcosa: Io sono passato a Linux per i continui intoppi avuti sotto windows e da due anni sono un felice utente, anche e spopratutto dopo avere incontrato diverse difficoltà. Per ultimo ogni distribuzione ha i suoi pregi e difetti, per La mandrake ha qualche problemino, ma resta insieme alla Debian l'unica con lo spirito originale del mondo Gnu_Linux: Good Job
Re: R: R: [newbie-it] MySQL Problema avvio o installazione
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 14:56, venerdì 10 ottobre 2003, carlo_canepa ha scritto: Dipende dalla versione di mysqlm, adesso non ricordo ma sulla 4 mi pare sia mysqld_safe e sulla 3. safe_mysqld; in ogni caso ho provato tutto l'ambaradam sia con la versione 4 che con precedenti versioni 3 e il risultato è sempre lo stesso: un macello. L'ultima della serie è che ho cancellato la cartella mysql, installato i pacchetti rpm e, dando /etc/rc.d/init.d/mysql start mysql si avvia!!MA non parte più apache con il php!Allo start dice che: Cannot load /usr/local/apache/libexec/libphp4.so into server:libmysqlclient.so.14:cannot open shared object file:No such file or directory. Se vado sul famoso file httpd.conf di configurazione di apache e cancello proprio la riga LoadModule php4_module libexec/libphp4.so allora apache si avvia, ma, naturalmente, senza il modulo php =1 manicomio dove non ci capisco davvero + nulla!!!MI sa che non riesco ad andare avanti, e dovrò prendere tutto e cercare di installarlo e configurarlo su windows (e non lo volevo fare...) Ho un problema simile, ma per il corretto utilizzo di Postnuke...Se risolvo ti faccio sapere... ...e comunque MySQL è correttamente installato, no? - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/h8k/VF8uFQvRMPQRApTLAJ9IHEhdEXN9neh3xdqMHoBkeiSQpgCg+jp0 yNfkzpFldSBmQqdWvozsXJs= =EgwJ -END PGP SIGNATURE-
R: R: R: [newbie-it] MySQL Problema avvio o installazione
Grazie per il tuo interessamento. Sì mysql è installato bene, visto che l'ho installato e disinstallato parecchie volte, sia come sorgente, sia come binario sia come pacchetto rpm, non sono un esperto, ma, almeno da questo punto di vista, credo di sapere, più o meno, quello che faccio. Mi sono talmente rotto di questa situazione che sto pensando di formattare la mandrake e tirare su red hat 9 (di cui non so un accidente, sia chiaro, essendo un neofita di linux in genere), riprovare tutto l'ambaradam e vedere se finalmente va (mi gira storto di arrendermi e fare girare la storia apache php mysql su winspazzatura...opinione personale) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Fabio Manunza Inviato: sabato 11 ottobre 2003 11.11 A: [EMAIL PROTECTED] Oggetto: Re: R: R: [newbie-it] MySQL Problema avvio o installazione -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 14:56, venerdì 10 ottobre 2003, carlo_canepa ha scritto: Dipende dalla versione di mysql, adesso non ricordo ma sulla 4 mi pare sia mysqld_safe e sulla 3. safe_mysqld; in ogni caso ho provato tutto l'ambaradam sia con la versione 4 che con precedenti versioni 3 e il risultato è sempre lo stesso: un macello. L'ultima della serie è che ho cancellato la cartella mysql, installato i pacchetti rpm e, dando /etc/rc.d/init.d/mysql start mysql si avvia!!MA non parte più apache con il php!Allo start dice che: Cannot load /usr/local/apache/libexec/libphp4.so into server:libmysqlclient.so.14:cannot open shared object file:No such file or directory. Se vado sul famoso file httpd.conf di configurazione di apache e cancello proprio la riga LoadModule php4_module libexec/libphp4.so allora apache si avvia, ma, naturalmente, senza il modulo php =1 manicomio dove non ci capisco davvero + nulla!!!MI sa che non riesco ad andare avanti, e dovrò prendere tutto e cercare di installarlo e configurarlo su windows (e non lo volevo fare...) Ho un problema simile, ma per il corretto utilizzo di Postnuke...Se risolvo ti faccio sapere... ...e comunque MySQL è correttamente installato, no? - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/h8k/VF8uFQvRMPQRApTLAJ9IHEhdEXN9neh3xdqMHoBkeiSQpgCg+jp0 yNfkzpFldSBmQqdWvozsXJs= =EgwJ -END PGP SIGNATURE-
Re: R: R: R: [newbie-it] MySQL Problema avvio o installazione
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 07:38, sabato 11 ottobre 2003, carlo_canepa ha scritto: Grazie per il tuo interessamento. Sì mysql è installato bene, visto che l'ho installato e disinstallato parecchie volte, sia come sorgente, sia come binario sia come pacchetto rpm, non sono un esperto, ma, almeno da questo punto di vista, credo di sapere, più o meno, quello che faccio. Mi sono talmente rotto di questa situazione che sto pensando di formattare la mandrake e tirare su red hat 9 (di cui non so un accidente, sia chiaro, essendo un neofita di linux in genere), riprovare tutto l'ambaradam e vedere se finalmente va (mi gira storto di arrendermi e fare girare la storia apache php mysql su winspazzatura...opinione personale) Ti giro una risposta che mi è arrivata per il problema Postnuke... Vedi se ti può essere utile. PHP warning Unknown() . Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - libmysqlclient.so.10: Cannot open shared object file: No such file or directory on line 0 Non so se riesco a darti la dritta giusta. Il problema potrebbe essre: - - file /etc/php.ini (o simile) ha una riga tipo /percorso/assoluto/mysql.so commentata ed è da scommentare - - c'è da installare una libreria mysql che manca. Probabilmente chiedendo la lista dei pacchetti installabili della tua distro non ancora inseriti puoi vedere quale mysql non c'è ancora (non so che distro usi, ma con MDK, RH, DEB e SLACK questo si può fare). Sperando di essere stato d'aiuto, saluti. - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/iCY5VF8uFQvRMPQRAjjmAJ4ouMBVQnokTTJxIVEhaK41CSerYACgupoN AIJX7qXOOQDcXZ5XsWt307A= =SR8N -END PGP SIGNATURE-
Re: [newbie-it] MySQL Problema avvio o installazione
On 09.10.2003 21:01, Eraser Head wrote: On Thu, 9 Oct 2003, kudega wrote: Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) MySQL l'ho installato tantissimo tempo fa, quindi non mi ricordo poi benissimo. Mi ricordo però che c'erano alcune cose da fare dopo l'installazione dell'rpm... Con tutta probabilità penso che il problema stia nel fatto che prima di lanciare mysql devi lanciare lo script mysql_install_db, che inizializza le tabelle dei permessi e fa partire il server: http://www.mysql.com/doc/en/Post-installation.html Se lancio mysql_install_db mi risponde... 14:21 root # mysql_install_db Didn't find /usr/libexec/mysqld You should do a 'make install' before executing this script 14:21 root # Ma perchè cerca il demone di mysql se non riesco ancora a farlo partire?? E poi mi dice make install ?!?!? Ma mysql l'ho installato tramite rpm e non tarball ! bha... casini casini Grazie comunque Qualche altro aiutino? Ciao ciao Davide
Re: R: [newbie-it] MySQL Problema avvio o installazione
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 17:42, giovedì 9 ottobre 2003, carlo_canepa ha scritto: Purtroppo io non posso aiutarti, ma ho un problema simile, magari chi può aiutare te può aiutare anche me. E' due giorni che sto tentando di installare e avviare mysql su una mandrake linux, e nonostante abbia seguito dritte e consigli a destra e sinistra(manuali compresi), non riesco a farlo. Procedo così: decomprimo il sorgente con tar xfvz mysql[version].tar.gz; controllo che il gruppo myql e utente mysql siano presenti con groupadd mysql e useradd -g mysql mysq, su entrambi i comandi la shell mi dice che sono presenti;entro nella directory creata e gli dò ./configure --prefix=/usr/local/mysql;compilo con make; installo con make install. Sin qui sembra tutto regolare. Poi cerco di avviare il server con /usr/local/mysql/bin/safe_mysqld --user=mysql veramente il comando dovrebbe essere mysqld_safe; errore di stumpa? - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/htD/VF8uFQvRMPQRAqpUAJ9CcGOzwxOK9uu6iEPsC1us26udOQCcDC9M drv1Sg62ZqqjJMqCcVkjS80= =WOGU -END PGP SIGNATURE-
R: R: [newbie-it] MySQL Problema avvio o installazione
Dipende dalla versione di mysqlm, adesso non ricordo ma sulla 4 mi pare sia mysqld_safe e sulla 3. safe_mysqld; in ogni caso ho provato tutto l'ambaradam sia con la versione 4 che con precedenti versioni 3 e il risultato è sempre lo stesso: un macello. L'ultima della serie è che ho cancellato la cartella mysql, installato i pacchetti rpm e, dando /etc/rc.d/init.d/mysql start mysql si avvia!!MA non parte più apache con il php!Allo start dice che: Cannot load /usr/local/apache/libexec/libphp4.so into server:libmysqlclient.so.14:cannot open shared object file:No such file or directory. Se vado sul famoso file httpd.conf di configurazione di apache e cancello proprio la riga LoadModule php4_module libexec/libphp4.so allora apache si avvia, ma, naturalmente, senza il modulo php =1 manicomio dove non ci capisco davvero + nulla!!!MI sa che non riesco ad andare avanti, e dovrò prendere tutto e cercare di installarlo e configurarlo su windows (e non lo volevo fare...) -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Fabio Manunza Inviato: venerdì 10 ottobre 2003 17.32 A: [EMAIL PROTECTED] Oggetto: Re: R: [newbie-it] MySQL Problema avvio o installazione -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 17:42, giovedì 9 ottobre 2003, carlo_canepa ha scritto: Purtroppo io non posso aiutarti, ma ho un problema simile, magari chi può aiutare te può aiutare anche me. E' due giorni che sto tentando di installare e avviare mysql su una mandrake linux, e nonostante abbia seguito dritte e consigli a destra e sinistra(manuali compresi), non riesco a farlo. Procedo così: decomprimo il sorgente con tar xfvz mysql[version].tar.gz; controllo che il gruppo myql e utente mysql siano presenti con groupadd mysql e useradd -g mysql mysq, su entrambi i comandi la shell mi dice che sono presenti;entro nella directory creata e gli dò ./configure --prefix=/usr/local/mysql;compilo con make; installo con make install. Sin qui sembra tutto regolare. Poi cerco di avviare il server con /usr/local/mysql/bin/safe_mysqld --user=mysql veramente il comando dovrebbe essere mysqld_safe; errore di stumpa? - -- - - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/htD/VF8uFQvRMPQRAqpUAJ9CcGOzwxOK9uu6iEPsC1us26udOQCcDC9M drv1Sg62ZqqjJMqCcVkjS80= =WOGU -END PGP SIGNATURE-
[newbie-it] MySQL Problema avvio o installazione
Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) allora provo ad andare a vedere che cavolo di file è ma la directory mysql che dovrebbe stare sotto /var/lib non esiste! !?!? Ho provato a guardare il manuale che installa nella dir .../doc ma meglio lasciar perdere... parla di file e di directory inesistenti. Io ho installato questi pacchetti: _ mysql-3.23.54a-11.i386.rpm _ mysql-devel-3.23.54a-11.i386.rpm _ perl-CGI-2.81-88.i386.rpm _ perl-DBI-1.32-5.i386.rpm _ perl-DBD-MySQL-2.1021-3.i386.rpm I pacchetti perl sono stato obbligato per via delle dipendenze. Ora come faccio a far partire mysql ?!?! Utilizzo una RedHat 9.0 e MySQL 3.23.54 (era nei CD di RH). Lo so che c'è già in giro la 4 ma giusto per non star li scaricarlo. Tanto l'uso che ne devo fare è proprio basilare... Grazie ciao ciao Davide -- \\\ [EMAIL PROTECTED]@] -o00-(..)-00o by Dave,Adde,Kudega,Kua,Zarax,Pichan... - Se esiste un problema esiste anche la sua soluzione, se invece la soluzione non c'è... allora nemmeno il problema sussiste!!! =
R: [newbie-it] MySQL Problema avvio o installazione
Purtroppo io non posso aiutarti, ma ho un problema simile, magari chi può aiutare te può aiutare anche me. E' due giorni che sto tentando di installare e avviare mysql su una mandrake linux, e nonostante abbia seguito dritte e consigli a destra e sinistra(manuali compresi), non riesco a farlo. Procedo così: decomprimo il sorgente con tar xfvz mysql[version].tar.gz; controllo che il gruppo myql e utente mysql siano presenti con groupadd mysql e useradd -g mysql mysq, su entrambi i comandi la shell mi dice che sono presenti;entro nella directory creata e gli dò ./configure --prefix=/usr/local/mysql;compilo con make; installo con make install. Sin qui sembra tutto regolare. Poi cerco di avviare il server con /usr/local/mysql/bin/safe_mysqld --user=mysql al che mi dice touch:creazione di 'usr/local/va/locahost.localdomain.err':No such file or directory Starting mysqld daemon with databases from /usr/local/mysql/vararrivo sino a /usr/mysql/bin/safe_mysqld mi rende [1] 21224 [EMAIL PROTECTED] mysql] # Starting mysqld daemon with databases fron /usr/local/mysql/var mysqld ended. E allora che faccio? A questo punto io non ci capisco una mazza e non so come andare avantipremesso che uso linux da pochissimo tempo e per me è tutta una novità, premesso che sto imparando php mysql ecc, secondo il manuale che sto usando a questo punto dovrebbe apparirmi su shell mysql con una riga di benevenuto e potrei iniziare a creare un database. Nulla di ciò avviene, qualcuno mi può aiutare?Io non riesco a d andare avanti, e altrimenti devo prendere tutto e cercare di installarlo e configurarlo su windows (e non lo volevo fare...)E l'ultima della serie è che non mi si avvia nemmeno più apache perché dice allo start start che Cannot load /usr/local/apache/libexec/libphp4.so into server:libmysqlclient.so.14:cannot open shared object file:No such file or directory =1 manicomio dove non ci capisco davvero + nulla!!! -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di kudega Inviato: giovedì 9 ottobre 2003 19.31 A: Lista Mandrake Oggetto: [newbie-it] MySQL Problema avvio o installazione Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) allora provo ad andare a vedere che cavolo di file è ma la directory mysql che dovrebbe stare sotto /var/lib non esiste! !?!? Ho provato a guardare il manuale che installa nella dir .../doc ma meglio lasciar perdere... parla di file e di directory inesistenti. Io ho installato questi pacchetti: _ mysql-3.23.54a-11.i386.rpm _ mysql-devel-3.23.54a-11.i386.rpm _ perl-CGI-2.81-88.i386.rpm _ perl-DBI-1.32-5.i386.rpm _ perl-DBD-MySQL-2.1021-3.i386.rpm I pacchetti perl sono stato obbligato per via delle dipendenze. Ora come faccio a far partire mysql ?!?! Utilizzo una RedHat 9.0 e MySQL 3.23.54 (era nei CD di RH). Lo so che c'è già in giro la 4 ma giusto per non star li scaricarlo. Tanto l'uso che ne devo fare è proprio basilare... Grazie ciao ciao Davide -- \\\ [EMAIL PROTECTED]@] -o00-(..)-00o by Dave,Adde,Kudega,Kua,Zarax,Pichan... - Se esiste un problema esiste anche la sua soluzione, se invece la soluzione non c'è... allora nemmeno il problema sussiste!!! =
Re: [newbie-it] MySQL Problema avvio o installazione
On Thu, 9 Oct 2003, kudega wrote: Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) MySQL l'ho installato tantissimo tempo fa, quindi non mi ricordo poi benissimo. Mi ricordo però che c'erano alcune cose da fare dopo l'installazione dell'rpm... Con tutta probabilità penso che il problema stia nel fatto che prima di lanciare mysql devi lanciare lo script mysql_install_db, che inizializza le tabelle dei permessi e fa partire il server: http://www.mysql.com/doc/en/Post-installation.html Se questo passo l'avevi già fatto (così come tutti gli altri passi descritti nell'accurata documentazione sul sito di mysql), allora non sono in grado di aiutarti. L'unico consiglio che ti posso dare è di vedere come si comporta webmin nell'apposita pagina del server (e se non sai cos'è webmin è molto male e devi chiedermi subito spiegazioni! =) Spero che i miei consigli ti siano di aiuto! =) Chiara -- Back form all the architects Who find their rowers leaning And every prayer we prayed at night Has somehow lost its meaning (Savatage)
Re: [newbie-it] MySQL Problema avvio o installazione
Alle 21:01, giovedì 9 ottobre 2003, Eraser Head ha scritto: On Thu, 9 Oct 2003, kudega wrote: Sto cercando di installare MySQL per poi interfacciarlo con i programmini che faccio con Kylix solo che quando da shell digito mysql mi appare... ERROR 2002: Can't connect to local MySQL server through socket '/var/ lib/mysql/mysql.sock' (2) .. Io ho una Mandrake 9.1 ed MySQL (versione disponibile nei tre CD della distribuzione) si installa perfettamente. La prima istruzione da dare è la seguente: mysql_install_db che, tra le altre cose, crea la tabella delle autorizzazioni per MySQL. Quindi è necessario impostare la password di root mediante il comando mysqladmin -password newpassword (rammenta di essere root). E' necessario verificare anche il daemon mysqld sia attivo tramite il centro di controllo mandrake (metodo grafico) o tramite il comando mysqladmin -p ping Per quanto attiene kylix, se riuscirai ad interfacciarti tramite le zeos lib, freeclx o altro, fammi sapere poiché io non ci sono riuscito. bye.
[newbie] Apache/MySQL/PHP triad
Hi all, Is there anything like Apache2Triad ( see http://sourceforge.net/projects/apache2triad/ ) available for Linux, or do we need to install and configure it all piece by piece? I don't mind reading a book about it and i know i got it all on my cd's, but i don't quite know where to get started. I want to get into building dynamic websites and i want to have a local setup on my pc so i can run it there and test the whole lot. I'm just a bit overwelmed about the fast amount of red-tape to get started (which versions to use, wich packages to install or ignore etc.). Can anybody recommend something...? Marco -- Registered Linux user #268279 * This message is composed on a 100% Microsoft free computer * Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Apache/MySQL/PHP triad
On Thu, Aug 07, 2003 at 11:06:30PM +, Marco Verheul wrote: Hi all, Is there anything like Apache2Triad ( see http://sourceforge.net/projects/apache2triad/ ) available for Linux, or do we need to install and configure it all piece by piece? I don't mind reading a book about it and i know i got it all on my cd's, but i don't quite know where to get started. I want to get into building dynamic websites and i want to have a local setup on my pc so i can run it there and test the whole lot. I'm just a bit overwelmed about the fast amount of red-tape to get started (which versions to use, wich packages to install or ignore etc.). Can anybody recommend something...? Marco If you installed the server packages, you already have everything you need. You may need to start yourSQL, but there's no great need to configure perl, php, or yourSQL. Apache may need some configurin', though. I don't know how much you know about apache etc. but the webroot on Mandrake is /var/www/html/. The apache conf files are in /etc/httpd/conf/. Todd -- Anybody but a Republican or Democrat 2004 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Apache/MySQL/PHP triad
On Fri, 2003-08-08 at 00:40, Todd Slater wrote: On Thu, Aug 07, 2003 at 11:06:30PM +, Marco Verheul wrote: Hi all, Is there anything like Apache2Triad ( see http://sourceforge.net/projects/apache2triad/ ) available for Linux, or do we need to install and configure it all piece by piece? I don't mind reading a book about it and i know i got it all on my cd's, but i don't quite know where to get started. I want to get into building dynamic websites and i want to have a local setup on my pc so i can run it there and test the whole lot. I'm just a bit overwelmed about the fast amount of red-tape to get started (which versions to use, wich packages to install or ignore etc.). Can anybody recommend something...? Marco If you installed the server packages, you already have everything you need. You may need to start yourSQL, but there's no great need to configure perl, php, or yourSQL. Apache may need some configurin', though. I don't know how much you know about apache etc. but the webroot on Mandrake is /var/www/html/. The apache conf files are in /etc/httpd/conf/. Todd Thanks Todd, I guess i will survive. I will just do all the installations and go from there. I ordered a nice book with handy 'projects' in it. If i read previous mails on the topic right it seems Apache 2 works out of the box. But i guess i will be doing some tweaking anyway. Bye, Marco -- Registered Linux user #268279 * This message is composed on a 100% Microsoft free computer * Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Launch MySQL at startup
Hi, i've just installed MySQL in my Linux machine, and i want to know how can i launch it at startup, as another service. Thanks, Chus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Launch MySQL at startup
On Tue, 2003-06-17 at 16:57, Jesus Hernandez wrote: Hi, i've just installed MySQL in my Linux machine, and i want to know how can i launch it at startup, as another service. Thanks, Chus Run drakxservices - you'll find MySQL in there already - but unticked - so make sure it's ticked, click START and from now on, every time you fire up your linux box (why would you shut it down?) it'll start as a system service. -- Tue Jun 17 17:00:00 EST 2003 17:00:00 up 4 days, 14 min, 3 users, load average: 0.12, 0.07, 0.02 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1 RH 7.3 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * It's easier to take it apart than to put it back together. -- Washlesky Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: Re: [newbie] Launch MySQL at startup
The problem is that my PC is quite old, and I didn't install X, so, how can i configure it from the command prompt? Chus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Launch MySQL at startup
On Tue, 17 Jun 2003, Jesus Hernandez wrote: Hi, i've just installed MySQL in my Linux machine, and i want to know how can i launch it at startup, as another service. Thanks, Chus Hi, You could always use webmin if you installed that, then you'll be able to configure the machine from another desktop. -- William Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: Re: [newbie] Launch MySQL at startup
urpmi ntsysv and run it at the command prompt as root very handy.. rgds Franki -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jesus Hernandez Sent: Tuesday, 17 June 2003 3:10 PM To: Stephen Kuhn Subject: RE: Re: [newbie] Launch MySQL at startup The problem is that my PC is quite old, and I didn't install X, so, how can i configure it from the command prompt? Chus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: Re: [newbie] Launch MySQL at startup
On Tue, 2003-06-17 at 17:10, Jesus Hernandez wrote: The problem is that my PC is quite old, and I didn't install X, so, how can i configure it from the command prompt? Chus From the console: chkconfig --add mysql -- Tue Jun 17 17:55:00 EST 2003 17:55:00 up 4 days, 1:09, 3 users, load average: 0.00, 0.00, 0.00 - |____ |kuhn media australia| | /-oo /| |'-. |http://kma.0catch.com | | .\__/ || | | || | _ / `._ \|_|_.-' |stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | - linux user #:267497 linux machine #:194239 * MDK 9.1 RH 7.3 Mandrake Linux Kernel 2.4.21-11mdk Cooker for i586 - * This message was composed on a 100% Microsoft free computer * The kind of danger people most enjoy is the kind they can watch from a safe place. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Es Divendres 21 Març 2003 05:45, en Joeb va escriure: This is in 9.1, but I think it holds true for 9.0, also. Go to the Mandrake Control Center, and go to the System option. From there, there should be an option called DrakServices. Select it and it gives you all the various services installed. Select the one for MySQL and tell it to start at boot. That doesn't work in 9.0: it is selected but mysql service is stopped after reboot... - -- Joan Tur. Eivissa-Spain AOL quini2k, ICQ 11407395 www.ClubIbosim.org Linux: usuari registrat 190.783 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+e4Ycok8j9RhtetwRAqd1AKCoXkFMBqZjA63rNNHjkkn81viu0gCggQA3 4eVaCEbYn/BAkXdGsE75AMo= =k3v5 -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
On Fri, 2003-03-21 at 17:37, Joan Tur wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Es Divendres 21 Març 2003 05:45, en Joeb va escriure: This is in 9.1, but I think it holds true for 9.0, also. Go to the Mandrake Control Center, and go to the System option. From there, there should be an option called DrakServices. Select it and it gives you all the various services installed. Select the one for MySQL and tell it to start at boot. That doesn't work in 9.0: it is selected but mysql service is stopped after reboot... It didn't work for me either. My first solution was to insert the line: service mysql start at the end of /etc/rc.d/rc.local It worked. Then, reading this list, I learned of chkconfig. Enter: chkconfig --level 35 mysql on My recommendation is to use chkconfig and forget about adding lines to rc.local. Anyway, they both work. HTH -- __ / \\ @ __ __@ Adolfo Bello [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //celular: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax: +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
This did the trick: chkconfig --level 35 mysql on Thanks, guys. Chris Shaffer __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
This is in 9.1, but I think it holds true for 9.0, also. Go to the Mandrake Control Center, and go to the System option. From there, there should be an option called DrakServices. Select it and it gives you all the various services installed. Select the one for MySQL and tell it to start at boot. Joeb On Wed, 19 Mar 2003 19:06:57 -0800 (PST) Christopher Shaffer [EMAIL PROTECTED] wrote: What would be the easiest way to get MySQL server to start when the system boots? I just installed Mandrake 9.0, and installed MySQL server from packages, but it does not start at boot time. Thanks, Chris Shaffer __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Starting MySQL at boot time
What would be the easiest way to get MySQL server to start when the system boots? I just installed Mandrake 9.0, and installed MySQL server from packages, but it does not start at boot time. Thanks, Chris Shaffer __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
On Wed, 2003-03-19 at 23:06, Christopher Shaffer wrote: What would be the easiest way to get MySQL server to start when the system boots? I just installed Mandrake 9.0, and installed MySQL server from packages, but it does not start at boot time. Thanks, Chris Shaffer chkconfig --level 35 mysql on You may want to take a look at man chkconfig for additional help on chkconfig. -- __ / \\ @ __ __@ Adolfo Bello [EMAIL PROTECTED] / // // /\ / \\ // \ // Bello Ingenieria S.A, ICQ: 65910258 / \\ // / \\ / // // / //celular: +58 416 609-6213 /___// // / _/ \__\\ //__/ // fax: +58 212 952-6797 www.bisapi.com //pager : [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
A very smart guy once said on this thread: chkconfig --level 35 mysql on Try that. Zane Minninger At 09:06 PM 3/19/2003, you wrote: What would be the easiest way to get MySQL server to start when the system boots? I just installed Mandrake 9.0, and installed MySQL server from packages, but it does not start at boot time. Thanks, Chris Shaffer __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Starting MySQL at boot time
On Thu, 2003-03-20 at 14:06, Christopher Shaffer wrote: What would be the easiest way to get MySQL server to start when the system boots? I just installed Mandrake 9.0, and installed MySQL server from packages, but it does not start at boot time. Thanks, Chris Shaffer Run drakxservices and make sure the tick box is ticked - and also, use Webmin to make sure your database(s) are initialised properly; if they're not starting up properly, there might be an issue with the setup of the MySQL; but do that first, and tell us how it goes mate! -- Thu Mar 20 14:45:00 EST 2003 14:45:00 up 1 day, 16:30, 4 users, load average: 0.23, 0.12, 0.09 -- |____ | kuhn media australia| | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=| | _ / `._ \|_|_.-' | stephen kuhn| | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ || | email: [EMAIL PROTECTED]| | |'. `\ | | |icq: 5483808 | | ;/ / | | | | | smk ) /_/| |.---.| | mobile: 0410-728-389| | ' `-`' | Berkeley, New South Wales, AU | -- linux user:267497 * MDK 9.1 * PC/Mac/Linux/Networking/Consulting machine no:194239 * RH 7.3 * Sales - Service - Support - Tutor -- ** This messages was composed on a 100% Microsoft free computer ** You must have an IQ of at least half a million. -- Popeye Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie-it] Mysql è a terra, perchè?
Aiuto, aiuto, non mi parte più il sever mysql, sul server con mandrake, nel centro di controllo dice sempre Stopped, non-ostante io abbia impostato lo start al boot, ed ho tutti i privilegi possibili. penso che sia nato tutto quando ho cercato di installare una nuova relase di Mysql, ma non mi ha (e non ho idea del perchè) permesso di farlo. come si fa a disinstallarlo e reinstallarlo? grazie Alfredo PS: abbiata pazienza sono un NEWNEWBIE
Re: [newbie-it] Mysql è a terra, perchè?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alle 16:49, martedì 18 marzo 2003, hai scritto: Aiuto, aiuto, non mi parte più il sever mysql, sul server con mandrake, nel centro di controllo dice sempre Stopped, non-ostante io abbia impostato lo start al boot, ed ho tutti i privilegi possibili. penso che sia nato tutto quando ho cercato di installare una nuova relase di Mysql, ma non mi ha (e non ho idea del perchè) permesso di farlo. come si fa a disinstallarlo e reinstallarlo? grazie Alfredo PS: abbiata pazienza sono un NEWNEWBIE Se è il MySql standard (intendo quello originale della distribuzione) utilizzi semplicemente il programma di installazione/disinstallazione dei pacchetti a cui puoi accedere tramite il Centro di Controllo di Mandrake ed una volta caricato scegli l'opzione: Gestione software e da li l'opzione Rimuovi software. Cerchi nell'elenco Mysql e lo disinstalli. Puoi procedi alla nuova installazione. Ciao Sandro - -- Dr. Sandro Porrazzini - A.I.P. n° 2075 - [EMAIL PROTECTED] Mandrake Linux 8.2 on PIII 866 Mhz Linux User #203143 Linux Machine #103048 -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+d1Ab/ayi1TbZzlQRAjwjAKC+3oDiR87+E9THRu2y4QkOnN8qPwCg1xWR DSjVQgKVFvvs156jTGAFsG0= =+6Mt -END PGP SIGNATURE-
Re: [newbie-it] Mysql è a terra, perchè?
Alle 17:58, martedì 18 marzo 2003, sandro ha scritto: Alle 16:49, martedì 18 marzo 2003, hai scritto: Aiuto, aiuto, grazie Alfredo PS: abbiata pazienza sono un NEWNEWBIE Se è il MySql standard (intendo quello originale della distribuzione) utilizzi semplicemente il programma di installazione/disinstallazione dei ... Puoi procedi alla nuova installazione. Ciao Se ho ben capito il tuo problema è lo stesso che ho trovato io appena installa ta la mdk 9.0. Sembra che non venga nominato correttamente il link ad /etc/init.d/mysql Che dovresti avere, per sempio, nella dir /etc/rc5.d/S90mysql - ../init.d/mysql Nota la S esse maiuscola che sta ad indicare che il demone deve essere attivato, invece sembra che avvenga questo /etc/rc5.d/K90mysql - ../init.d/mysql K kappa maiuscola che sta ad indicare che il demone deve essere disattivato. Vien da se... cambia le cose a manina e tutto andrà. -- saluti Giovanni Mazzamati +-+ |Linux Mandrake 9.0 - KDE 3.0.3 user | |Registred User #183142 | +-+ | La conoscenza è nulla senza condivisione. | | Paolo Caldana aka verbal | +-+
Re: [newbie-it] Mysql è a terra, perchè?
Alle 15:49, martedì 18 marzo 2003, [EMAIL PROTECTED] ha scritto: Aiuto, aiuto, non mi parte più il sever mysql, sul server con mandrake, nel centro di controllo dice sempre Stopped, non-ostante io abbia impostato lo start al boot, ed ho tutti i privilegi possibili. penso che sia nato tutto quando ho cercato di installare una nuova relase di Mysql, ma non mi ha (e non ho idea del perchè) permesso di farlo. come si fa a disinstallarlo e reinstallarlo? grazie Alfredo PS: abbiata pazienza sono un NEWNEWBIE Prova, da console, a dare /etc/rc.d/init.d/mysql start e vedi che ti dice. Vale. -- - -- Fabio Manunza -- ## n° macchina 140545 ## Fair is foul, and foul is fair -
Re: [newbie-it] mysql non funziona
Alle 17:53, venerdì 22 novembre 2002, tocqueville ha scritto: Salve a tutti e grazie anticipatamente ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) MySql non è avviato! Anche io ho avuto un problema simile al tuo. A sistema perfettamente installato e configurato MySql all'avvio non era attivo, nonostante che nei tool grafici risultasse correttamente configurato. Non soddisfatto sono andato a vermi di persona cosa contenessero le dir /etc/rc3.d e /etc/rc5.d e sorpresa il link al servizio MySql era settato erroneamente, ossia il nome del file inziava con K (che, se non ricordo male, sta per kill) allora l'ho sostituita con una S (che sta per start) ed ora all'avvio tutto funge. Quindi se per tè sarà la stessa cosa trattasi di BUG (anche se banale). Fammi sapere. -- saluti Giovanni Mazzamati Linux Mandrake 9.0 KDE 3.0.2 user Registred User #183142 Un giorno le macchine riusciranno a risolvere tutti i problemi,ma mai nessuna di esse potrà porne uno. Albert Einstein
Re: [newbie-it] mysql non funziona
Alle 12:35, domenica 24 novembre 2002, Giovanni Mazzamati ha scritto: MySql non è avviato! ... A sistema perfettamente installato e configurato MySql all'avvio non era attivo, nonostante che nei tool grafici risultasse correttamente configurato. Non soddisfatto sono andato a vermi di persona cosa contenessero le dir /etc/rc3.d e /etc/rc5.d se posso dare un consiglio, non avviate MySQL al boot, ma solo quando serve, risparmiate risorse e chiudete una porta bye miKe ___ Slackware 8.1 GNU/Linux 2.4.19 @ hp Xe3 R.U.#219755 - S.R.U.#705 - R.M.#110932
Re: [newbie-it] mysql non funziona
inoltre controlla i permessi sulle directory in questione vedrai che accedendo come root non dovrebbe darti problemi ... - Original Message - From: toto [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 22, 2002 8:02 PM Subject: Re: [newbie-it] mysql non funziona Alle 17:53, venerdì 22 novembre 2002, tocqueville ha scritto: Salve a tutti e grazie anticipatamente ho installato la MdK 9 nessun problema nell'installazione ora però, a differenza della versione precedente, mi si presenta questo problema quando digito mysql esce quest'errore: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) premetto che ho installato tutti i software come faccio a risolverlo Ma il server è attivo? Da root digita /etc/init.d/mysql status Se ti comunica che è fermo digita /etc/init.d/mysql start Buon Lavoro
[newbie-it] mysql non funziona
Salve a tutti e grazie anticipatamente ho installato la MdK 9 nessun problema nell'installazione ora però, a differenza della versione precedente, mi si presenta questo problema quando digito mysql esce quest'errore: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) premetto che ho installato tutti i software come faccio a risolverlo
Re: [newbie-it] mysql non funziona
Alle 17:53, venerdì 22 novembre 2002, tocqueville ha scritto: Salve a tutti e grazie anticipatamente ho installato la MdK 9 nessun problema nell'installazione ora però, a differenza della versione precedente, mi si presenta questo problema quando digito mysql esce quest'errore: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) premetto che ho installato tutti i software come faccio a risolverlo Ma il server è attivo? Da root digita /etc/init.d/mysql status Se ti comunica che è fermo digita /etc/init.d/mysql start Buon Lavoro
[newbie-it] MySQL
Qualcuno sa - oppure ha da spedirmi - dove posso recuperare dei manuali di Mysql in _italiano_? Cerco e cerco in rete, ma alla fine scarico sempre gli stessi, in inglese... -- Arwan
[newbie] qt mysql question
I need to build the qt mysql plugin wihth multi thread support. I made qt with the -thread option and everything seems to have built just fine. Now I need to build the mysql plugin. what do I need to do to make sure it has multi thread support? Thanks, -Chuck Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] qt mysql question
On Sunday 18 August 2002 10:11 pm, chuck wrote: I need to build the qt mysql plugin wihth multi thread support. I made qt with the -thread option and everything seems to have built just fine. Now I need to build the mysql plugin. what do I need to do to make sure it has multi thread support? Thanks, -Chuck Just a tip: $./configure --help|grep thread or: §./configure --help|less enter /thread enter Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] qt mysql question
Yes, I read the configure help file and added the -thread option. I didn't make the plugin when I made QT. I would like to make the plugin with multi thread support without remaking QT. I don't have a plugins-mt directory so I'm not sure if something is wrong. On Sun, 2002-08-18 at 15:26, frame wrote: On Sunday 18 August 2002 10:11 pm, chuck wrote: I need to build the qt mysql plugin wihth multi thread support. I made qt with the -thread option and everything seems to have built just fine. Now I need to build the mysql plugin. what do I need to do to make sure it has multi thread support? Thanks, -Chuck Just a tip: $./configure --help|grep thread or: §./configure --help|less enter /thread enter Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] qt mysql question
Here's what qt3.0.5 online doc is saying: Plugins and Threaded Applications If you want to build a plugin which you want to use with a threaded Qt library (whether or not the plugin itself uses threads) you must use a threaded environment. Specifically, you must link the plugin with a threaded Qt library, and you must build Qt Designer with that library. Your .pro file for your plugin must include the line: CONFIG += thread Warning: Do not mix the normal Qt library and the threaded Qt library in an application. If your application uses the threaded Qt library, you should not link your plugin with the normal Qt library. Nor should you dynamically load the normal Qt library or dynamically load another library, e.g. a plugin, that depends on the normal Qt library. On some systems, mixing threaded and non-threaded libraries or plugins will corrupt the static data used in the Qt library. Regards, Frank. On Sunday 18 August 2002 10:40 pm, chuck wrote: Yes, I read the configure help file and added the -thread option. I didn't make the plugin when I made QT. I would like to make the plugin with multi thread support without remaking QT. I don't have a plugins-mt directory so I'm not sure if something is wrong. On Sun, 2002-08-18 at 15:26, frame wrote: On Sunday 18 August 2002 10:11 pm, chuck wrote: I need to build the qt mysql plugin wihth multi thread support. I made qt with the -thread option and everything seems to have built just fine. Now I need to build the mysql plugin. what do I need to do to make sure it has multi thread support? Thanks, -Chuck Just a tip: $./configure --help|grep thread or: §./configure --help|less enter /thread enter Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie-it] MySQL
Ma dove sono nascosti i file dei database nell'installazione di MDK 8.2? MySQL funziona ma non riesco a trovare i file... Ciao Stefano
Re: [newbie] Backup MySQL Data
There are a couple different methods for backing up information on a server. You can backup over smb, ftp (or nfs) to another PC on your local network, or you can backup to a different disk on the same PC or you can even backup to an 'offsite' location. Of course, you didn't need to send two copies of the same message to the list (in HTML no less) within 2 minutes. I'm sure most people got the first one. Michael -- Michael Viron Registered Linux User #81978 Senior Systems Administration Consultant Web Spinners, University of West Florida At 12:26 PM 11/28/2001 +0800, you wrote: Hi! I have configure MySQL in my Linux Server. How can I backup the data ... ? I don't have any Backup-Tape Device ... Can someone plase give me some information ? Best Regards, SKLIM Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Backup MySQL Data
Hi! I have configure MySQL in my Linux Server. How can I backup the data ... ? I don't have any Backup-Tape Device ... Can someone plase give me some information ? Best Regards, SKLIM
[newbie] Backup MySQL Data
Hi! I have configure MySQL in my Linux Server. How can I backup the data ... ? I don't have any Backup-Tape Device ... Can someone plase give me some information ? Best Regards, SKLIM
RE: [newbie] ping (MySQL)
Hello Edmund, I have a fresh installation of LM 8.0 running on my laptop. I poked around a bit to see if I could use MySQL, as it was installed with the OS. You should be able to see the two default databases with the following command: [me@mySystem /]$ mysqlshow This should produce output that looks like: +---+ | Databases | +---+ | mysql | | test | +---+ You can use the mysqladmin command to create new databases, and do all kinds of other things. I have some really good notes from a friend; let me see if I can find them, and I will email them to you a little later... They may be in MS Powerpoint format, but you should be able to open that using StarOffice on LM 8.0. Hope this helps, Mike --- Mitchell, Edmund [EMAIL PROTECTED] wrote: Hello all I'm trying to take my first steps with either MySQL or PostgreSQL, and the documentation at those websites, while great, is hard to follow from a Mandrake perspective (it seems the files are in different places from what those websites say is customary, and there must be some small setup involved, because things like 'initdb' are producing error messages implying that all the ducks are not in a row). Can someone point me to some LM-specific docs, or tell me the first few steps to perform to get things going on a clean install? Thanks Edmund = May the Force be with you. __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
[newbie] PHP4 / MySQL
Hello, I am new to Linux and have successfully created a dedicated 7.1 box. I have Apache installed and I am wondering how I can get PHP4 - or the latest version from php.net on my system. I see the file I can download . but to be honest I am clueless how to go about getting it from the net and actually installing it. The goal is to have PHP4 and MySQL on this box . .any help on doing either of these would be greatly appeciated. Phil