PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SQL konfiguration unter mandriva



Bilox
30.07.07, 15:54
hi...

ich habs nach recht langem konfigurieren, probieren und pfuschen geschafft... mein apache-webserver läuft :D

nun habe ich mir ein webspell-script geladen und möchte es auch installieren...
bei der installation kommte immer die fehlermeldung das er nicht zum SQL-server verbinden kann..

wie kann/muss ich wo den SQL konfigurieren.
wo/wie kann ich datenbanken und user erstellen?
gibt es vlt ein tool dafür, ähnlich dem XAMP unter windows?

meine distri: mandriva 07

schonmal THX vorab

marce
30.07.07, 20:54
Zuerst brauchst Du überhaupt mal einen SQL-Server - den gewünschten (es dürfte da ein paar zur Auswahl geben) am besten über die Paket/Softwareveraltung installieren. Damit sollte dann auch ein entsprechender Client für die Konsole installiert sein, mit dem kannst Du dann per SQL-Befehle bzw. Datenbankspezifischen Befehlen DBs erstellen.

Für die meisten Anwendungen gibt's auch Weboberflächen (z.B. phpMyAdmin, phppgadmin)

Bilox
30.07.07, 21:03
ja also nen server hab ich er wurde bei der installation von linux(mandriva) mit installiert und sollte eigentlich auch laufen.
oder kann ich das vieleicht testen ob er läuft oder nicht?
das kann ich ja unter dem kontrollzentrum sehen welche software installd ist.

wie kann ich rausfinden ob diese weboberflächen auch schon install sind?

marce
30.07.07, 21:11
ich vermute mal über das Paketmanagement - kenne MD nicht, aber es sollte ja sowas geben...

Poste doch mal die Ausgabe von
ps -ef (Code-Tags verwenden...)

Bilox
30.07.07, 21:15
so hab das eingegeben...

und das ist jetzt das was alles läuft?


[root@localhost html]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 Jul26 ? 00:00:02 init [5]
root 2 1 0 Jul26 ? 00:00:00 [migration/0]
root 3 1 0 Jul26 ? 00:00:02 [ksoftirqd/0]
root 4 1 0 Jul26 ? 00:00:11 [events/0]
root 5 1 0 Jul26 ? 00:00:00 [khelper]
root 6 1 0 Jul26 ? 00:00:00 [kthread]
root 8 6 0 Jul26 ? 00:00:01 [kblockd/0]
root 9 6 0 Jul26 ? 00:00:00 [kacpid]
root 81 6 0 Jul26 ? 00:00:00 [kseriod]
root 117 6 0 Jul26 ? 00:00:00 [pdflush]
root 118 6 0 Jul26 ? 00:00:10 [pdflush]
root 119 1 0 Jul26 ? 00:00:38 [kswapd0]
root 120 6 0 Jul26 ? 00:00:00 [aio/0]
root 781 6 0 Jul26 ? 00:00:00 [kpsmoused]
root 795 6 0 Jul26 ? 00:00:02 [kjournald]
root 875 1 0 Jul26 ? 00:00:00 udevd -d
root 1045 6 0 Jul26 ? 00:00:00 [khubd]
root 1144 6 0 Jul26 ? 00:00:00 [scsi_eh_0]
root 1145 6 0 Jul26 ? 00:00:59 [usb-storage]
root 1424 6 0 Jul26 ? 00:04:52 [kjournald]
root 1453 6 0 Jul26 ? 00:00:00 [kjournald]
root 1455 6 0 Jul26 ? 00:00:02 [kjournald]
root 1457 6 0 Jul26 ? 00:00:46 [kjournald]
root 1944 1 0 Jul26 ? 00:00:00 syslogd -m 0 -a /var/spool/postf
daemon 1954 1 0 Jul26 ? 00:00:00 /usr/sbin/atd
70 2024 1 0 Jul26 ? 00:03:23 dbus-daemon --system
root 2080 1 0 Jul26 ? 00:00:00 klogd -2
root 2117 1 0 Jul26 ? 00:00:00 /usr/sbin/acpid
72 2142 1 0 Jul26 ? 00:01:34 hald
root 2143 2142 0 Jul26 ? 00:00:00 hald-runner
72 2166 2143 0 Jul26 ? 00:00:01 /usr/lib/hald-addon-keyboard
72 2171 2143 0 Jul26 ? 00:00:00 /usr/lib/hald-addon-acpi
root 2513 2143 0 Jul26 ? 00:00:28 /usr/lib/hald-addon-storage
root 2522 2143 0 Jul26 ? 00:00:11 /usr/lib/hald-addon-storage
root 2526 2143 0 Jul26 ? 00:00:10 /usr/lib/hald-addon-storage
root 2544 2143 0 Jul26 ? 00:00:10 /usr/lib/hald-addon-storage
root 2548 2143 0 Jul26 ? 00:00:10 /usr/lib/hald-addon-storage
root 2608 6 0 Jul26 ? 00:00:00 [ac97/0]
root 2780 1 0 Jul26 ? 00:00:19 /sbin/ifplugd -b -i eth0
rpc 3000 1 0 Jul26 ? 00:00:00 portmap
root 3212 1 0 Jul26 ? 00:00:00 xinetd -stayalive -reuse -pidfil
avahi 3230 1 0 Jul26 ? 00:00:00 avahi-daemon: running [localhost
rpcuser 3231 1 0 Jul26 ? 00:00:00 rpc.statd
root 3298 1 0 Jul26 ? 00:00:01 rpc.idmapd
xfs 3318 1 0 Jul26 ? 00:00:05 xfs -port -1 -daemon -droppriv -
root 3390 1 0 Jul26 ? 00:00:00 /usr/bin/vmnet-bridge -d /var/ru
root 3403 1 0 Jul26 ? 00:00:00 cupsd
root 3446 1 0 Jul26 ? 00:00:00 /usr/bin/vmnet-netifup -d /var/r
root 3461 1 0 Jul26 ? 00:00:05 ha_logd: read process
root 3474 3461 0 Jul26 ? 00:00:05 ha_logd: write process
root 3475 1 0 Jul26 ? 00:00:00 /usr/bin/kdm -nodaemon
root 3476 1 0 Jul26 ? 00:00:00 /usr/sbin/sshd
root 3496 1 0 Jul26 ? 00:00:00 /usr/bin/vmnet-natd -d /var/run/
root 3529 1 0 Jul26 ? 00:00:00 /usr/bin/vmnet-dhcpd -cf /etc/vm
root 3550 6 0 Jul26 ? 00:00:00 [nfsd4]
root 3551 1 0 Jul26 ? 00:00:00 [nfsd]
root 3552 1 0 Jul26 ? 00:00:00 [nfsd]
root 3553 1 0 Jul26 ? 00:00:00 [nfsd]
root 3554 1 0 Jul26 ? 00:00:00 [nfsd]
root 3555 1 0 Jul26 ? 00:00:00 [nfsd]
root 3556 1 0 Jul26 ? 00:00:00 [nfsd]
root 3557 1 0 Jul26 ? 00:00:00 [nfsd]
root 3558 1 0 Jul26 ? 00:00:00 [nfsd]
root 3562 1 0 Jul26 ? 00:00:00 [lockd]
root 3563 6 0 Jul26 ? 00:00:00 [rpciod/0]
root 3568 1 0 Jul26 ? 00:00:00 rpc.mountd
root 3667 3475 3 Jul26 tty7 03:24:37 /etc/X11/X -br -deferglyphs 16 :
root 3732 1 0 Jul26 ? 00:00:00 /sbin/dhclient -1 -q -lf /var/li
root 3840 3475 0 Jul26 ? 00:00:00 -:0
root 3937 1 0 Jul26 ? 00:00:00 /usr/lib/postfix/master
postfix 3953 3937 0 Jul26 ? 00:00:00 qmgr -l -t fifo -u -c
clamav 3954 1 0 Jul26 ? 00:01:43 clamd -c /etc/clamd.conf
clamav 3987 1 0 Jul26 ? 00:00:00 /usr/bin/freshclam --config-file
canna 4013 1 0 Jul26 ? 00:00:00 cannaserver -syslog -u canna
root 4083 1 0 Jul26 ? 00:00:00 crond -p
root 4125 1 0 Jul26 ? 00:00:00 squid -D
squid 4127 4125 0 Jul26 ? 00:00:11 (squid) -D
root 4130 1 0 Jul26 ? 00:00:00 smbd -D
squid 4153 4127 0 Jul26 ? 00:00:00 (unlinkd)
bilox 4216 3840 0 Jul26 ? 00:00:00 gnome-session
root 4266 1 0 Jul26 ? 00:00:02 nmbd -D
root 4289 4130 0 Jul26 ? 00:00:00 smbd -D
bilox 4437 1 0 Jul26 ? 00:00:00 /usr/bin/dbus-launch --exit-with
bilox 4438 1 0 Jul26 ? 00:00:00 /usr/bin/dbus-daemon --fork --pr
bilox 4444 4216 0 Jul26 ? 00:00:00 [mdkapplet] <defunct>
bilox 4453 4216 0 Jul26 ? 00:00:17 /usr/bin/perl /usr/bin/net_apple
bilox 4507 1 0 Jul26 ? 00:00:00 s2u --daemon=yes --debug
root 4508 1 0 Jul26 ? 00:00:00 /usr/bin/lisa -c /etc/lisarc
root 4583 1 0 Jul26 tty1 00:00:00 /sbin/mingetty tty1
root 4584 1 0 Jul26 tty2 00:00:00 /sbin/mingetty tty2
root 4585 1 0 Jul26 tty3 00:00:00 /sbin/mingetty tty3
root 4586 1 0 Jul26 tty4 00:00:00 /sbin/mingetty tty4
root 4587 1 0 Jul26 tty5 00:00:00 /sbin/mingetty tty5
root 4588 1 0 Jul26 tty6 00:00:00 /sbin/mingetty tty6
bilox 4620 1 0 Jul26 ? 00:00:02 /usr/lib/gconfd-2 12
bilox 4629 1 0 Jul26 ? 00:00:00 /usr/bin/gnome-keyring-daemon
bilox 4631 1 0 Jul26 ? 00:00:18 /usr/lib/gnome-settings-daemon
bilox 4648 1 0 Jul26 ? 00:01:05 /usr/bin/metacity --sm-client-id
bilox 4654 1 0 Jul26 ? 00:02:28 gnome-panel --sm-client-id defau
bilox 4656 1 0 Jul26 ? 00:02:10 nautilus --no-default-window --s
bilox 4658 1 0 Jul26 ? 00:00:00 /usr/lib/bonobo-activation-serve
bilox 4663 1 0 Jul26 ? 00:00:01 pam-panel-icon --sm-client-id de
bilox 4665 1 0 Jul26 ? 00:00:27 /usr/lib/gnome-vfs-daemon
bilox 4666 1 0 Jul26 ? 00:18:12 gnome-volume-manager
bilox 4668 1 0 Jul26 ? 00:00:00 eggcups --sm-client-id default4
root 4671 4663 0 Jul26 ? 00:00:02 /sbin/pam_timestamp_check -d roo
bilox 4691 1 0 Jul26 ? 00:00:00 /usr/lib/mapping-daemon
bilox 4694 1 0 Jul26 ? 00:05:07 /usr/lib/gam_server
bilox 4714 1 0 Jul26 ? 00:01:53 /usr/lib/mixer_applet2 --oaf-act
bilox 4719 1 0 Jul26 ? 00:00:42 gnome-screensaver
bilox 4785 1 0 Jul26 ? 00:00:00 /bin/bash /usr/lib/vmware/lib/wr
bilox 4807 4785 0 Jul26 ? 00:03:31 /usr/lib/vmware/bin/vmware
bilox 4808 4785 0 Jul26 ? 00:00:00 /bin/bash /usr/lib/vmware/lib/wr
bilox 4876 4807 8 Jul26 ? 09:06:36 /usr/lib/vmware/bin/vmware-vmx -
bilox 4937 1 0 Jul26 ? 00:00:03 dcopserver [kdeinit] --nosid --s
bilox 4941 1 0 Jul26 ? 00:00:11 kded [kdeinit]
bilox 4944 1 0 Jul26 ? 00:00:00 kdeinit Running...
bilox 4947 4944 0 Jul26 ? 00:00:01 klauncher [kdeinit]
bilox 5154 1 0 Jul26 ? 00:03:23 knotify [kdeinit]
bilox 5160 1 0 Jul26 ? 00:02:01 /usr/bin/artsd -F 10 -S 4096 -s
bilox 5210 1 0 Jul26 ? 00:44:07 [vmware-rtc]
bilox 12904 1 0 Jul27 ? 00:00:00 /usr/lib/evolution-data-server-1
bilox 12917 1 0 Jul27 ? 00:00:00 /usr/lib/evolution/2.8/evolution
bilox 13107 1 0 Jul27 ? 00:00:19 gnome-terminal
bilox 13109 13107 0 Jul27 ? 00:00:00 gnome-pty-helper
bilox 13110 13107 0 Jul27 pts/0 00:00:00 ash
root 13112 13110 0 Jul27 pts/0 00:00:00 bash
bilox 13486 1 0 Jul27 ? 00:00:00 /bin/sh /usr/bin/mozilla-firefox
bilox 13491 13486 0 Jul27 ? 00:00:00 /bin/sh /usr/lib/mozilla-firefox
bilox 13496 13491 0 Jul27 ? 00:13:10 /usr/lib/mozilla-firefox-1.5.0.7
bilox 15784 1 0 Jul28 ? 00:01:07 /usr/lib/at-spi-registryd --oaf-
bilox 24043 1 0 Jul28 ? 00:09:19 /usr/bin/kopete
bilox 24309 1 0 Jul28 ? 00:00:01 kio_uiserver [kdeinit]
bilox 7674 1 0 Jul29 ? 00:00:40 evolution -c mail
bilox 8142 13107 0 Jul29 pts/1 00:00:00 ash
root 8143 8142 0 Jul29 pts/1 00:00:00 bash
root 8475 1 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8480 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8481 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8482 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8483 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8484 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8485 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8486 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
apache 8487 8475 0 Jul29 ? 00:00:00 /usr/sbin/httpd -f /etc/httpd/co
bilox 16904 1 1 17:28 ? 00:03:24 amarokapp file:///mnt/win_d2/mus
bilox 16920 4944 0 17:28 ? 00:00:00 kio_file [kdeinit] file /home/bi
bilox 16982 16904 0 17:30 ? 00:00:00 ruby /usr/share/apps/amarok/scri
postfix 17581 3937 0 20:52 ? 00:00:00 pickup -l -t fifo -u -c -o conte
bilox 17645 1 0 21:10 ? 00:00:00 /usr/sbin/drakconf.real
root 17649 17645 0 21:10 ? 00:00:00 /usr/sbin/userhelper -w drakconf
root 17652 17649 0 21:10 ? 00:00:01 /usr/bin/perl /usr/sbin/drakconf
root 17666 17652 6 21:10 ? 00:00:13 /usr/bin/perl /usr/sbin/rpmdrake
root 17687 8143 0 21:14 pts/1 00:00:00 ps -ef
[root@localhost html]#

marce
30.07.07, 21:21
also, nach 2x durchschauen finde ich keinen SQL-Server.

Es ist also entweder keiner installiert oder er läuft nicht...

Bilox
30.07.07, 21:28
wenn ich im kontrollzentrum gucke find ich nen MySQL-client...

kannst du mir sonst ne gute alternative nennen, die ich mit dem apachen nutzen kann.?



bei genauerem hinschauen hab ich die hier dort auch noch gefunden:

postgresql-server - The programs needed to create and run a PostgreSQL server​

postgresql - PostgreSQL client programs and librar

marce
30.07.07, 21:44
Alternativen zu was?

Dem Apache ist es völlig egal, welche DB du nutzt. Du solltest darauf achten, dass es halt Treiber für die DB für die Programmiersprache gibt, die Du verwenden willst. Dann ist es völlig egal, ob Du nun Informix, DB2, Oracle, MS-SQL, MySQL, PostgreSQL, FlatFiles oder was auch sonst immer verwendest...

Bilox
30.07.07, 21:49
ja sry alternative war schlecht ausgedrückt ....

also nehme ich einfach von hier http://dev.mysql.com/downloads/mysql/5.0.html#downloads das paket und dann sollte es funzen..?

welches wehre denn in meinem fall optimal?

marce
30.07.07, 21:53
Ich würde davon ausgehen, dass ein fertiges MySQL bei Mandriva mit dabei ist - wie gesagt, durchsuche mal die Paketverwaltung...

Ob und wie das genau geht sollte Dir die Doku klar machen können...

Bilox
30.07.07, 22:01
sry aber bin anfänger ....

was heist das in diesem falle?

Doku

und ja wie gesagt beim durchsuchen habe ich das hier noch gefunden

postgresql-server - The programs needed to create and run a PostgreSQL server​

postgresql - PostgreSQL client programs and librar

marce
30.07.07, 22:39
Dokumentation.

Postgre - wenn Du keine Applikation hast, die zwingend etwas anderes verlangt dann installiere denn halt...

ClausVB
01.08.07, 14:41
@Bilox => Nur zur Info: Du willst kein SQL (http://de.wikipedia.org/wiki/SQL) installieren, sondern ein RDBMS (http://de.wikipedia.org/wiki/RDBMS). SQL ist eine Abfragesprache, die von allen mir bekannten RDBMS beherrscht wird.

Trotz Deiner Posts konnte ich noch nicht entdecken, warum Du eigentlich ein RDBMS installieren willst und wofür Du es brauchst.

Du scheinst ja mit dem XAMPP Erfahrung zu haben, was vielleicht bedeutet, dass Du Dein System für PERL oder PHP-Programmierung einsetzen möchtest ...

Was willst Du mit dem RDBMS eigentlich machen?

Gruß
Claus

comrad
01.08.07, 15:45
Installier anstatt mysql-CLIENT einfach mysql-SERVER. Afaik gibts da im Mandrake-Kontrollzentrum sogar einen riesengroßen dicken fetten Knopf für.

Im Software-Programm kannst du auch nach Programmen suchen. Schon da mal "mysql" eingegeben?

comrad