- Mesaj
- 4.073
- Çözümler
- 409
- Beğeni
- 4.314
- Puan
- 1.849
- Ticaret Puanı
- 0
-MySQL 5.5-
Merhaba, çok tuhaf bir sorunla karşı karşıyayım.
2 Farklı freebsd kalıbında denedim, birinde sıfırdan kendim yükledim, diğer kalıp ise hazır.
Kısaca sorunum şu; FreeBSD başlatınca mysql i kontrol ediyorum ve çalıştığı görünüyor.
Oyuna start verdikten sonra tekrar kontrol ettiğimde mysql çalışmıyor.
Anlamadığım bir diğer şey ise, mysql e ait my.cnf dosyası bende hiç bir yerde yok nedense. Elle eklendiğinde işe yaradığını falan okudum ancak denediğimde aşağıda da gördüğünüz gibi bu dosyayı göz ardı ediyor.(izini 777)
db syserr temiz.
CH1: meşhur "localhost:15000 not connect ...." syserrini veriyor.
Filese ait .err dosyasındaki kayıtlar:
MYSQL'e ait .err dosyası kayıtları:
Mysql e ait gereksiz log dosyalarını silmeyi denedim fakat her denememde bu hatalardan sonra tekrar oluşuyorlar. Yani sonuç nafile.
Merhaba, çok tuhaf bir sorunla karşı karşıyayım.
2 Farklı freebsd kalıbında denedim, birinde sıfırdan kendim yükledim, diğer kalıp ise hazır.
Kısaca sorunum şu; FreeBSD başlatınca mysql i kontrol ediyorum ve çalıştığı görünüyor.
Oyuna start verdikten sonra tekrar kontrol ettiğimde mysql çalışmıyor.
Anlamadığım bir diğer şey ise, mysql e ait my.cnf dosyası bende hiç bir yerde yok nedense. Elle eklendiğinde işe yaradığını falan okudum ancak denediğimde aşağıda da gördüğünüz gibi bu dosyayı göz ardı ediyor.(izini 777)
db syserr temiz.
CH1: meşhur "localhost:15000 not connect ...." syserrini veriyor.
Filese ait .err dosyasındaki kayıtlar:
Kod:
210113 11:27:48 mysqld_safe Logging to '/var/db/mysql/.err'.
210113 11:27:48 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
Warning: World-writable config file '/var/db/mysql/my.cnf' is ignored
Warning: World-writable config file '/var/db/mysql/my.cnf' is ignored
210113 11:27:48 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
210113 11:27:48 [Note] /usr/local/libexec/mysqld (mysqld 5.5.62) starting as process 636 ...
210113 11:27:48 InnoDB: The InnoDB memory heap is disabled
210113 11:27:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
210113 11:27:48 InnoDB: Compressed tables use zlib 1.2.11
210113 11:27:48 InnoDB: Initializing buffer pool, size = 128.0M
210113 11:27:48 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
210113 11:27:48 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
210113 11:27:48 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
210113 11:27:48 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
210113 11:27:48 InnoDB: Waiting for the background threads to start
210113 11:27:49 InnoDB: 5.5.62 started; log sequence number 0
210113 11:27:49 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
210113 11:27:49 [Note] - '0.0.0.0' resolves to '0.0.0.0';
210113 11:27:49 [Note] Server socket created on IP: '0.0.0.0'.
210113 11:27:49 [Warning] Insecure configuration for --pid-file: Location '/var/db/mysql' in the path is accessible to all OS users. Consider choosing a different directory.
210113 11:27:50 [Note] Event Scheduler: Loaded 0 events
210113 11:27:50 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.5.62' socket: '/tmp/mysql.sock' port: 3306 Source distribution
MYSQL'e ait .err dosyası kayıtları:
Kod:
141215 12:36:44 mysqld_safe mysqld from pid file /var/db/mysql/.pid ended
141215 12:38:36 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
141215 12:38:36 InnoDB: The InnoDB memory heap is disabled
141215 12:38:36 InnoDB: Mutexes and rw_locks use GCC atomic builtins
141215 12:38:36 InnoDB: Compressed tables use zlib 1.2.7
141215 12:38:36 InnoDB: Initializing buffer pool, size = 128.0M
141215 12:38:36 InnoDB: Completed initialization of buffer pool
InnoDB: Error: space header page consists of zero bytes in data file ./ibdata1
141215 12:38:36 InnoDB: Could not open or create data files.
141215 12:38:36 InnoDB: If you tried to add new data files, and it failed here,
141215 12:38:36 InnoDB: you should now edit innodb_data_file_path in my.cnf back
141215 12:38:36 InnoDB: to what it was, and remove the new ibdata files InnoDB created
141215 12:38:36 InnoDB: in this failed attempt. InnoDB only wrote those files full of
141215 12:38:36 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
141215 12:38:36 InnoDB: remove old data files which contain your precious data!
141215 12:38:36 [ERROR] Plugin 'InnoDB' init function returned error.
141215 12:38:36 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
141215 12:38:36 [ERROR] Unknown/unsupported storage engine: InnoDB
141215 12:38:36 [ERROR] Aborting
141215 12:38:36 [Note] /usr/local/libexec/mysqld: Shutdown complete
141215 12:38:36 mysqld_safe mysqld from pid file /var/db/mysql/.pid ended
Mysql e ait gereksiz log dosyalarını silmeyi denedim fakat her denememde bu hatalardan sonra tekrar oluşuyorlar. Yani sonuç nafile.