Po konfiguracji binda nie mogę się połączyc z mysql
: 15 kwietnia 2008, 09:13
otóż,
musiałem ustawić binda aby mój serwer był DNS'em dla swojej domeny, robiłem tam cuda wianki (chyba działa) ale po wszystkim nie mogę się połączyć z mysql'em (przed modyfikajc ustawień wszystko działało)
przez www dostaje taki ot komunikatES)
papmyadmin zaś ma
mysql dziwnie startuje
przy próbie zresetowania mysql'a dostaje komunikat
przy próbie zmiany hasła dla konta root badź utworzenia nowego konta dostaje
wogóle niemoge tego załączyc
mój plik /etc/bind/baned.conf>
mój plik /var/cache/bind/rosa.xorg.pl>>
mójj plik /etc/hosts >
musiałem ustawić binda aby mój serwer był DNS'em dla swojej domeny, robiłem tam cuda wianki (chyba działa) ale po wszystkim nie mogę się połączyć z mysql'em (przed modyfikajc ustawień wszystko działało)
przez www dostaje taki ot komunikat
Kod: Zaznacz cały
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /var/www/db/mysql4.php on line 48
phpBB by Przemo : Critical Error
Could not connect to the database.
Access denied for user 'root'@'localhost' (using password: Y
papmyadmin zaś ma
Kod: Zaznacz cały
Błąd
#2003 - Can't connect to MySQL server on 'r11947.ovh.net' (111)
Kod: Zaznacz cały
r11947:/etc/init.d# ./mysql start
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
r11947:/etc/init.d# /usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
##Misiałem zastosować c^ bo
r11947:/etc/init.d# ./mysql status
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
.
r11947:/etc/init.d#
Kod: Zaznacz cały
r11947:/etc/init.d# ./mysql restart
Stopping MySQL database server: mysqld failed!
Starting MySQL database server: mysqld already running.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
Kod: Zaznacz cały
11947:/etc/init.d# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
r11947:/etc/init.d# mysqladmin -u urbinek password krakersik
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'urbinek'@'localhost' (using password: NO)'
Kod: Zaznacz cały
r11947:/etc/init.d# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Kod: Zaznacz cały
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind/README.Debian for information on the
// structure of BIND configuration files in Debian for BIND versions 8.2.1
// and later, *BEFORE* you customize this configuration file.
//
include "/etc/bind/named.conf.options";
options {
directory "/var/cache/bind";
query-source address * port 53;
};
// reduce log verbosity on issues outside our control
logging {
category lame-servers { null; };
category cname { null; };
};
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
zone "rosa.xorg.pl" {
type master;
file "rosa.xorg.pl";
notify yes;
also-notify{
213.251.188.140;
};
};
// add local zone definitions here
include "/etc/bind/named.conf.local";
Kod: Zaznacz cały
$TTL 43200
@ IN SOA dns.rosa.xorg.pl. hostmaster.rosa.xorg.pl. (
2002100902 ; serial
8H ; refresh
2H ; retry
7D ; expire
1D ; default_ttl
)
@ IN NS dns.rosa.xorg.pl
@ IN NS sdns1.ovh.net
@ IN A 87.98.182.253
dns IN A 87.98.182.253
www IN CNAME @
Kod: Zaznacz cały
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
87.98.182.253 r11947.ovh.net rosa.xorg.pl [url]www.rosa.xorg.pl[/url]
# The following lines are desirable for IPv6 capable hosts
#(added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
feo0::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts