[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MYSQL



Serdar Aytekin yazmış:

Simdi anladigim kadari ile iki farkli sorun var.

1. sorun stable bir makinede debian kurulmuyor. Bunun "apt-get install mysql-server" komutunu verip
ne gibi hatalara sebep oldugunu aynen buraya copy-paste edebilirmisiniz. Hatanin ne oldugunu tam
olarak anlamaya calisalim.

2. Diger makinede olan mysql'inize baska makinelerden de erismek istiyorsunuz. Bunun icin mysql'in
portunu disariya acmaniz gerekecek. Normal debianda mysql kurulurken guvenlik sebebi ile sadece
localde hizmet verecek sekilde konfigure edilir. Siz sayet mysql'e disaridan da erismek isterseniz,

/etc/mysql/my.cnf dosyasindaki "skip-networking" satirini # ile iptal edin sonra mysql'i yeniden
baslatin.

Simdi mysql disariya hizmet verecek hale geldi. Bundan sonraki adim olarak yine uzaktan erisim icin
mysql'deki tablolarinizin erisim yetkilerinide ayarlamaniz gerekecek.

mysql kullanicisi test_user ve veritabani ismide test_db olsun. Bu durumda,

grant all on test_db.* to test_user@'%' identified by "kullanici_sifresi";

seklinde '%' ile disaridan erisim yetkisinide ayarlamaniz gerekecek. Yukarida ben grant all on
diyerek tum yetkileri verdim ancak siz grant insert,delete,update seklinde dilediginiz yetkileri
teker teker de ayarlayabilirsiniz.

Saygilarimla,
Serdar Aytekin


Öncelikle ilgi ve alakanıza çok teşekür ederim .

1.
sourcelist dosyası

deb http://ftp.tr.debian.org/debian stable main contrib non-free
deb http://ftp.tr.debian.org/debian-non-US stable/non-US main contrib non-free deb http://ftp.tr.debian.org/debian-security stable/updates main contrib non-free

apt-get install mysql-server çıktısı

Reading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mysql-server: Depends: mysql-client (>= 3.23.49-8.8) but it is not going to be installed
               Depends: libdbi-perl but it is not going to be installed

E: Broken packages

2. sayenizde o çalıştı

Teşekkürler..

Dediğiniz gibi yaptım sadece

ftp.tr.debian.org

ile ilgili satırlar var ama gene olmadı bir başka sorun ise başka makinada kararsız debian
sürümünde denemeler yapıyorum mysql le ilgili oradada mysql çalışıyor fakat başka >makinalardan
ulaşamıyorum kullanıcı bilgileri aşağıdaki gibi
mysql> select user,host from user;
+------------------+-------------+
| user             | host        |
+------------------+-------------+
| huseyin          | %           |
| root             | %           |
| serdar           | %           |
| huseyin          | 172.16.7.3  |
| root             | 172.16.7.3  |
| root             | 176.16.0.61 |
| serdar           | 176.16.0.61 |
| debian-sys-maint | localhost   |
| root             | localhost   |
| root             | velia       |
+------------------+-------------+
10 rows in set (0.00 sec)

teşekkürler...





Reply to: