{02:31:10} (splinkie): ik hoor net van iemand dat ze nu met een fietsband moest naaien omdat ze geen condooms meer kon betalen || {02:34:44} (Asjemenou): beter met een lange tijd met goodyear dan een korte tijd met firestone en in de problemen komen
God, root, what is difference? | Talga Vassternich | IBM zuigt
Waarschijnlijk zul je tegenwoordig ook in /etc/rc.conf iets als mysql_enable="YES" moeten plaatsen: zie het shellscriptje, die sourced rc.conf in dat geval.
output mysql_install_db
output /usr/local/bin/mysql_fix_privilege_tables:NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/local/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /usr/local ; /usr/local/bin/mysqld_safe &
output /usr/local/bin/mysql --no-defaults --force --user=root --host=localhost --database=mysql --verboseGot a failure from command:
/usr/local/bin/mysql --no-defaults --force --user=root --host=localhost --database=mysql
Please check the above output and try again.
Running the script with the --verbose option may give you some information
of what went wrong.
lijkt me nogal logisch omdat mysql server niet start.ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/var/db/mysql/localhost.err
Of lees ik nou over alles heen?ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
drenthe# cat /var/db/mysql/localhost.err
050503 14:01:33 mysqld started
050503 14:01:34 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
050503 14:01:35 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 43634.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
050503 14:01:35 InnoDB: Flushing modified pages from the buffer pool...
050503 14:01:35 InnoDB: Started; log sequence number 0 43634
050503 14:01:35 [ERROR] /usr/local/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
050503 14:01:35 [ERROR] Fatal error: Can't open privilege tables: Can't find file: './mysql/host.frm' (errno: 13)
050503 14:01:35 mysqld ended
{02:31:10} (splinkie): ik hoor net van iemand dat ze nu met een fietsband moest naaien omdat ze geen condooms meer kon betalen || {02:34:44} (Asjemenou): beter met een lange tijd met goodyear dan een korte tijd met firestone en in de problemen komen
mysql_install_db --user=mysql
je grant table laten aanmaken. las het goed is moet nu je mysql server willen draaien onder de juiste user acount.
Edit: als je er niet helemaal uit komt mischien heb je hier wel wat aan
[ Voor 13% gewijzigd door teun-v op 03-05-2005 15:48 ]
Ook gek op Ovalracen? | Canon EOS 350 D | Canon EF-S 10-22mm F/3.5-4.5 | Sigma 17-70 F/2.8-4.5 DC Macro | Canon EF 70-200 F/2.8L USM | >Blog< |
En lag het aan de rechten.
mysql server draait weer.
IRC quote:
[16:00:50] <Polichism> heb eerst /var/db/mysql maar eens verwijderd
[16:00:58] <Polichism> toen /var/db/mysql weer aangemaakt
[16:01:08] <Polichism> vervolgens: chown mysql:mysql /var/db/mysql
[16:01:22] <Polichism> dan: /usr/local/bin/mysql_install_db --user=mysql
[16:01:28] <Polichism> toen mysql opgestart.. en het werkte wel :x
{02:31:10} (splinkie): ik hoor net van iemand dat ze nu met een fietsband moest naaien omdat ze geen condooms meer kon betalen || {02:34:44} (Asjemenou): beter met een lange tijd met goodyear dan een korte tijd met firestone en in de problemen komen