473,625 Members | 2,687 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't login as root

1 New Member
I just installed Red Hat Enterprise 5, along with MySQL. I have run mysql_install_d b and I can see the mysql folder that contains the 'mysql' database with the users. Unfortunately, I can't login as root. I have tried without specifying a password, and also with a blank password. And I have tried the SAME using mysqladmin

I can login as any generic user without a password, but this of course won't allow be see the mysql table and have the rights that root has.

[root@romulus ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localho st' (using password: NO)

[root@romulus ~]# mysql -u root -p
Password:
ERROR 1045 (28000): Access denied for user 'root'@'localho st' (using password: YES)

What else can I do to login as root?
Feb 28 '08 #1
1 1952
nomad
664 Recognized Expert Contributor
I just installed Red Hat Enterprise 5, along with MySQL. I have run mysql_install_d b and I can see the mysql folder that contains the 'mysql' database with the users. Unfortunately, I can't login as root. I have tried without specifying a password, and also with a blank password. And I have tried the SAME using mysqladmin

I can login as any generic user without a password, but this of course won't allow be see the mysql table and have the rights that root has.

[root@romulus ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localho st' (using password: NO)

[root@romulus ~]# mysql -u root -p
Password:
ERROR 1045 (28000): Access denied for user 'root'@'localho st' (using password: YES)

What else can I do to login as root?
Question do you have MySQL running?


nomad
Feb 28 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1720
by: John | last post by:
Hello I have created login pages but am having problems when I test them for my site. When I type all the registration info in it accepts it no problem. When I try and sign in though and then try and access the restricted pages it takes me back to the login page. The local root folder for the site is:
0
1870
by: ./Rob & | last post by:
Hi gang: I'm experiencing a problem with MySQL -- I updated MySQL from version 4.1.0 to 4.1.10 and now when I login as root it doesn't show all the databases I should have access to, nor it doesn't recognize me being logged in as root (via CURRENT_USER().) Here it is, line-by-line. Inline comments are denoted by '//'
0
2474
by: kevincw01 | last post by:
There doesnt seem to be a reliable support channel for libgmail so i figured this group might have some people who could help. I have the latest version(from cvs) of libgmail.py, lgconstants.py and mkconstants.py with python version 2.3.3. gmailfs fails with a login error. I also tried a test login script and it fails on logon also. I double-checked my username/passwords as well trying to actually login from the web and with two...
6
1559
by: MLH | last post by:
I have a DSL line coming in to my home/office into a 4-port router to which 3 windoze boxes and one linux box are connected. My window$ boxes all see each other, but I do not have a facility yet for attaching the linux box's MySQL tables to the MS Access database across CAT-5, 10BASE-T cabling. What's the best recommended approach to attaching to tables on a PC in the next room across my LAN. Of course, they are MySQL. If they were MS...
2
2773
by: Beginner | last post by:
I know this is an old question, but searching all over the internet plus several MS security conferences, still haven't got a straight anwser. Basically, the login.aspx is on one dedicated server in the domain using AD. ASP.NET applications run on other servers (not neccessary in domain) and trying to use authentication server. How could this be done? - Most response says you need to set MachineKey the same, but that alone doesn't...
2
1226
by: Jack | last post by:
To whom may concern: 1. Web.config <authentication mode="Forms"> <forms name=".Portal" protection="All" timeout="3600" loginUrl="Login.aspx" /> </authentication> 2. The "Login.aspx" is in root of a virtual path, but I'm visiting a sub path, and now session lost, so program will redirect to login page,
1
2042
by: frolda | last post by:
Hi, I moved my login.aspx page from root to a subdirectory and made -hopefully- all necessary changes for all Login controls. All the controls work just fine, except one. To my regret, the LoginStatus control still uses the old, root-located login.aspx intead of subdir/login.aspx. What's interesting is that for logout it works perfectly (path to subdir/logout.aspx is recognized OK). Could anyone write me please, where does the...
4
1348
by: Ben | last post by:
Hi, I defined roles in order to deny access for some pages to anonymous users. I tested it by typing the url of a denied page to test the system (http://denypage.aspx). It works (access denied), and i'm automatically redirected to the login.aspx file that is defined in the root of the application.
9
4351
by: skyy | last post by:
Hi... i am trying to do some CGI with apache http server. I would like to do some simple things such as creating a folder in the server when i login. However.. i found out that when i login i am not a root user. So i wont be able to create any folder due to permission. Anybody know how to login as root when i login to the server?
0
8251
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8688
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8494
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7178
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6115
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4085
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2614
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1800
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1496
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.