| I see it's been a few days since your post so you may have a solution by now. If not try this. Open a konsole(terminal), login as root and type: mysql_install_db.
Again, as root type: chown -R mysql.mysql /var/lib/mysql.
Also, as root type: /usr/bin/mysqld_safe --user=mysql &
Open a 2nd terminal and log in as root and type: ps -e | grep my
You should see some results if mysql is running.
At the root prompt type: mysql -u root and if you get the mysql prompt(mysql>) you are good.
You need to set a root passwd, so at the prompt (not mysql>) but root type:mysql -u root mysql and you should get the mysql> prompt. If so, type:
SET PASSWORD FOR root@localhost-PASSWORD('password');
If this is successful, you will be able to log in to mysql from the konsole by typing: mysql -u root -p. You can do this same procedure to create users so you are not using mysql as root. to do this, as root log in to mysql and type:
GRANT ALL PRIVILEGES ON *.* to name@localhost IDENTIFIED BY 'password' WITH GRANT OPTION;
There are options to set, you do not have to GRANT ALL but check the documentation. |