[Pardus-kullanicilari] Mysql'i kurdum ama ayarlarını nasıl yapacağım?
ertugrulerata
ertugrulerata at gmail.com
13 Oca 2008 Paz 10:17:09 EET
Sunday 13 January 2008 09:51:09 tarihinde Ahmet Akmaz şunları yazmıştı:
> Arkadaşlar sizlere çok teşekkür ederim. Buraya kadar dediklerinizin
> hepsini yaptım. Ancak sonuç alamayınca bugün (13 Ocak 2008 Pazar)
> Pardus işletim sisteminde şu işlemleri yaptım ve phpMyAdmin'e girmeyi
> başaramadım ve sizleri tekrar rahatsız etmek pahasına yaptığım bütün
> işlemleri teker teker yazdım.
>
> 1) Bilgisayardan mysql-administrator, mysql-client, mysql-lib,
> mysql-server ve phpmyadmin dosyalarını kaldırdım.
>
> 2) Bilgisayarı temizledim.
>
> 3) Bilgisayarı yeniden başlattım.
>
> 4) $ pisi update-repo komutunu verdim ve depoları güncelledim.
>
> 5) Paket yöneticisinden şu dosaları kurdum: mysql-administrator,
> mysql-client, mysql-lib, mysql-server, phpmyadmin
>
> 6) konsole'den sırasıyla şu komutları girdim.
> $ service mysql-server on
> $ service mysql-server start
> 7)
> a) Konqueror'a http://localhost/phpmyadmin/ yazdım ve enter'a bastım.
> Şu tablo ile karşılaştım.
> Index of /phpmyadmin
> Icon Name
> Last modified Size Description
> [DIR] Parent Directory
> -
> [ ] CREDITS
> 26-Nov-2007 20:34 169
> [ ] ChangeLog
> 26-Nov-2007 20:34 21K
> [TXT] Documentation.html
> 26-Nov-2007 20:34 216K
> [TXT] Documentation.txt
> 26-Nov-2007 20:34 152K
> [ ] INSTALL
> 26-Nov-2007 20:34 179
> [ ] LICENSE
> 26-Nov-2007 20:34 18K
> [ ] RELEASE-DATE-2.11.2.2
> 26-Nov-2007 20:34 29
> [ ] TODO
> 26-Nov-2007 20:34 235
> [ ] browse_foreigners.php
> 26-Nov-2007 20:34 11K
> [ ] calendar.php
> 26-Nov-2007 20:34 758
> [ ] changelog.php
> 26-Nov-2007 20:34 3.4K
> [ ] chk_rel.php
> 26-Nov-2007 20:34 460
> [ ] config.inc.php
> 26-Nov-2007 20:34 624
> [ ] config.sample.inc.php
> 26-Nov-2007 20:34 1.7K
> [DIR] config/
> 13-Jan-2008 07:12 -
> [DIR] contrib/
> 13-Jan-2008 08:54 -
> [ ] db_create.php
> 26-Nov-2007 20:34 1.4K
> [ ] db_datadict.php
> 26-Nov-2007 20:34 10K
> [ ] db_export.php
> 26-Nov-2007 20:34 2.4K
> [ ] db_import.php
> 26-Nov-2007 20:34 471
> [ ] db_operations.php
> 26-Nov-2007 20:34 18K
> [ ] db_printview.php
> 26-Nov-2007 20:34 7.2K
> [ ] db_qbe.php
> 26-Nov-2007 20:34 34K
> [ ] db_search.php
> 26-Nov-2007 20:34 13K
> [ ] db_sql.php
> 26-Nov-2007 20:34 852
> [ ] db_structure.php
> 26-Nov-2007 20:34 22K
> [TXT] docs.css
> 26-Nov-2007 20:34 4.5K
> [ ] error.php
> 26-Nov-2007 20:34 2.1K
> [ ] export.php
> 26-Nov-2007 20:34 24K
> [IMG] favicon.ico
> 26-Nov-2007 20:34 18K
> [ ] import.php
> 26-Nov-2007 20:34 14K
> [ ] index.php
> 26-Nov-2007 20:34 6.4K
> [DIR] js/
> 13-Jan-2008 08:54 -
> [DIR] lang/
> 13-Jan-2008 08:54 -
> [DIR] libraries/
> 13-Jan-2008 08:54 -
> [ ] license.php
> 26-Nov-2007 20:34 411
> [ ] main.php
> 26-Nov-2007 20:34 15K
> [ ] navigation.php
> 26-Nov-2007 20:34 24K
> [ ] pdf_pages.php
> 26-Nov-2007 20:34 27K
> [ ] pdf_schema.php
> 26-Nov-2007 20:34 51K
> [ ] phpinfo.php
> 26-Nov-2007 20:34 360
> [ ] phpmyadmin.css.php
> 26-Nov-2007 20:34 16K
> [DIR] pmd/
> 13-Jan-2008 08:54 -
> [ ] pmd_common.php
> 26-Nov-2007 20:34 11K
> [ ] pmd_display_field.php
> 26-Nov-2007 20:34 1.9K
> [ ] pmd_general.php
> 26-Nov-2007 20:34 18K
> [ ] pmd_help.php
> 26-Nov-2007 20:34 880
> [ ] pmd_pdf.php
> 26-Nov-2007 20:34 3.3K
> [ ] pmd_relation_new.php
> 26-Nov-2007 20:34 3.8K
> [ ] pmd_relation_upd.php
> 26-Nov-2007 20:34 1.8K
> [ ] pmd_save_pos.php
> 26-Nov-2007 20:34 2.2K
> [TXT] print.css
> 26-Nov-2007 20:34 1.0K
> [ ] querywindow.php
> 26-Nov-2007 20:34 9.4K
> [ ] readme.php
> 26-Nov-2007 20:34 403
> [DIR] scripts/
> 13-Jan-2008 08:54 -
> [ ] server_binlog.php
> 26-Nov-2007 20:34 7.5K
> [ ] server_collations.php
> 26-Nov-2007 20:34 2.7K
> [ ] server_databases.php
> 26-Nov-2007 20:34 13K
> [ ] server_engines.php
> 26-Nov-2007 20:34 4.8K
> [ ] server_export.php
> 26-Nov-2007 20:34 1.6K
> [ ] server_import.php
> 26-Nov-2007 20:34 486
> [ ] server_privileges.php
> 26-Nov-2007 20:34 108K
> [ ] server_processlist.php
> 26-Nov-2007 20:34 2.8K
> [ ] server_sql.php
> 26-Nov-2007 20:34 581
> [ ] server_status.php
> 26-Nov-2007 20:34 20K
> [ ] server_variables.php
> 26-Nov-2007 20:34 2.4K
> [ ] show_config_errors.php
> 26-Nov-2007 20:34 317
> [ ] sql.php
> 26-Nov-2007 20:34 29K
> [ ] tbl_addfield.php
> 26-Nov-2007 20:34 8.9K
> [ ] tbl_alter.php
> 26-Nov-2007 20:34 9.2K
> [ ] tbl_change.php
> 26-Nov-2007 20:34 45K
> [ ] tbl_create.php
> 26-Nov-2007 20:34 9.1K
> [ ] tbl_export.php
> 26-Nov-2007 20:34 3.8K
> [ ] tbl_import.php
> 26-Nov-2007 20:34 635
> [ ] tbl_indexes.php
> 26-Nov-2007 20:34 16K
> [ ] tbl_move_copy.php
> 26-Nov-2007 20:34 2.0K
> [ ] tbl_operations.php
> 26-Nov-2007 20:34 19K
> [ ] tbl_printview.php
> 26-Nov-2007 20:34 18K
> [ ] tbl_relation.php
> 26-Nov-2007 20:34 24K
> [ ] tbl_replace.php
> 26-Nov-2007 20:34 12K
> [ ] tbl_row_action.php
> 26-Nov-2007 20:34 4.3K
> [ ] tbl_select.php
> 26-Nov-2007 20:34 17K
> [ ] tbl_sql.php
> 26-Nov-2007 20:34 833
> [ ] tbl_structure.php
> 26-Nov-2007 20:34 33K
> [DIR] test/
> 13-Jan-2008 08:54 -
> [ ] themes.php
> 26-Nov-2007 20:34 1.1K
> [DIR] themes/
> 13-Jan-2008 08:54 -
> [ ] transformation_overview.php
> 26-Nov-2007 20:34 1.7K
> [ ] transformation_wrapper.php
> 26-Nov-2007 20:34 4.0K
> [TXT] translators.html
> 26-Nov-2007 20:34 8.0K
> [ ] user_password.php
> 26-Nov-2007 20:34 3.5K
> [ ] view_create.php
> 26-Nov-2007 20:34 4.1K
>
> Apache Server at localhost Port 80
>
> b) Mozilla Firefox'a http://localhost/phpmyadmin/ yazıp enter'a basınca
>
> Not Found
>
> The requested URL /phpmayadmin was not found on this server.
> Apache Server at localhost Port 80
>
> iletisi ile karşılaştım. (Yukarıdaki işlemleri yapmadan önce Mozilla
> Firefox'ta localhost/phpmyadmin'e giriş yapabiliyordum. Zaten
> http://localhost yazınca bir problem çıkmıyor. Apache'nin açılış
> sayfasına girebiliyorum.)
>
> 8) Kurmayı atladığım paket var mı düşüncesiyle Paket Yöneticisi'nden
> mysql yazıp aratınca şu paketler karşıma çıktı:
>
> mysql-administrator, mysql-client, mysql-gui-common, mysql-lib,
> mysql-python, mysql-server, phpmyadmin
>
> 9) Bilgisayarı yeniden başlattım.
>
> 10) Konqueror'da http://localhost/phpmyadmin/ yazarak phpMyAdmin
> 2.11.2.2 sürümüne Hoş Geldiniz yazısının bulunduğu sayfayı açtım.
> Mozilla Firefox'ta ise yukarıdaki Not Found'la başlayan sayfa yeniden
> geldi.
>
> 11) phpMyAdmin açılış sayfasındaki Oturumu Aç bölümünde Kullanıcı Adı:
> root Parola boş iken git butonuna bastım. Şu hata mesajı ile
> karşılaştım:
>
> 1045 - Access denied for user 'root'@'localhost' (using password: NO)
>
> Şifre bölümüne root şifremi (yukarıda anlattığım gibi MysQL ile ilgili
> kurulumu yaparken hiçbir şifre kullanmadım) yazarak tekrar git
> butonuna bastım; bu defa da şu hata mesajı geldi:
>
> 1045 - Access denied for user 'root'@'localhost' (using password: YES)
>
> 12) config.inc.php dosyasının kodları şu şekilde (Bu kodlar Pardus
> işletim sistemi ile birlikte gelen kodlar, tarafımdan üzerinde hiçbir
> işlem yapılmadı):
>
> <?php
> /*
> * Generated configuration file
> * Generated by: phpMyAdmin 2.8.1 setup script by Michal Čihař
> <michal at cihar.com>
> * Version: $Id: setup.php,v 1.23.2.8.2.2 2006/05/15 07:57:09 nijel Exp $
> * Date: Sat, 27 May 2006 17:10:09 GMT
> */
>
> /* Servers configuration */
> $i = 0;
>
> /* Server localhost (cookie) [1] */
> $i++;
> $cfg['Servers'][$i]['host'] = 'localhost';
> $cfg['Servers'][$i]['extension'] = 'mysqli';
> $cfg['Servers'][$i]['connect_type'] = 'tcp';
> $cfg['Servers'][$i]['compress'] = false;
> $cfg['Servers'][$i]['auth_type'] = 'cookie';
>
> /* End of servers configuration */
>
> $cfg['blowfish_secret'] = '44aswedwed232';
> ?>
>
> 13) Acaba ben nerede hata yaptım? Teşekkür ederim.
> _______________________________________________
> Pardus-kullanicilari e-posta listesi
> Listeden çıkmak için
> http://liste.uludag.org.tr/mailman/listinfo/pardus-kullanicilari adresini
> kullanın. Listeye iletmek istediğiniz soruları
> Pardus-kullanicilari at pardus.org.tr e-posta adresine gönderin. Liste
> mesajlarında arama yapmak için http://liste.pardus.org.tr/arama web
> sayfasına gidin.
phpmyadmin için apache servisinin de çalışması lazım apache kurulu değilse
kurun ve
service apache start deyin
phpmyadmin in kurulu olduğunu farz ediyorum.
Pardus-kullanicilari mesaj listesiyle ilgili
daha fazla bilgi