Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-14-2005, 11:20 AM   #1
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Rep: Reputation: 30
MySQL root access.

Did an install of MySQL 4, did not secure the root account with any passwords and yet mysql -u root returns an error of access denied. I did perform the mysql_install_db script. If I connect to the server using "mysql" I can connect, and "show databases;" shows only the test database. No mysql database. I am connecting to the server via ssh and logging on to the server from a localhost login.
Old 11-14-2005, 06:35 PM   #2
LQ Newbie
Registered: Nov 2005
Posts: 12

Rep: Reputation: 0
file permissions maybe? Here are my notes:

chown mysql /var/lib/mysql/*
chown mysql /var/lib/mysql/mysql/*



good luck.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL vs. Access Zebe General 12 10-14-2005 12:47 AM
Sarge mysql-server Access denied for user: root@localhost infinity432 Linux - Software 2 05-18-2005 11:42 PM
How access MySQL by MySQL Administrator? treotan Linux - Newbie 5 12-04-2004 10:17 PM
mysql root access err 1045... beware of this latino Linux - Newbie 0 03-15-2004 09:07 PM
from access to mysql ? abd_bela Programming 1 02-12-2004 07:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration