Current time: 04-19-2024, 02:52 PM Hello There, Guest! (LoginRegister)


Post Reply 
mysql Problem nach installation auf FreeBSD 9.2
Author Message
kira12 Offline


Posts: 2
Joined: Oct 2013
Reputation: 0
Post: #1
mysql Problem nach installation auf FreeBSD 9.2
Hallo Leute,

ich habe ispcp auf FreeBSD 9.2 installiert und das Perl-sript stoppt beim Zugriff auf mysql. User mysql und es steht im log:

check_sql_connection() | Starting...
check_sql_connection() | Checking MySQL server connection with the following DSN: DBI:mysql::localhost 'USER' 'PASSWORD'
doSQL() | Starting...
doSQL() | [ERROR] Unable to connect SQL server with current DSN: DBI:mysql::localhost 'USER' 'PASSWORD'

Woran kann das liegen?

Gruß ré
10-28-2013 06:50 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: mysql Problem nach installation auf FreeBSD 9.2
kenne mich mit freebsd nicht aus.
gibts da auch ein mysql-log oder daemon.log?

Kannst du manuell mit mysql anmelden (Kommandozeile, mysql -h localhost -u User -p
oder so?

Gruss J
10-29-2013 02:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kira12 Offline


Posts: 2
Joined: Oct 2013
Reputation: 0
Post: #3
RE: mysql Problem nach installation auf FreeBSD 9.2
Hallo,

der login per Konsole funktioniert. Irgendeine Abhängigkeit klappte nicht. Da habe ich ein anderes Packet installieren lassen. Installiert habe ich p5-DBD-mysql51-4.024. Leider weiß ich nicht welches Paket was war. Gefordert wurde p5-DBD-mysql4-xxxx.

Gruß ré
(This post was last modified: 10-29-2013 06:06 AM by kira12.)
10-29-2013 06:05 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: mysql Problem nach installation auf FreeBSD 9.2
Das dürfte die Verbindung von Perl zu MySQL sein.

Aber mysql4 tönt wirklich alt... - ich denke, da muss sicher die MySQL Version mit der des MySQL Servers einigermassen übereinstimmen...

Vielleicht noch MySQL konfigurieren,d ass es viel loggt - und dann nochmals testen und ggf. Hinwesie im Log sehen...???

Gruss J
10-30-2013 12:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)