<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How To check the username of mysql account after installation?</title> <atom:link href="http://www.findistore.com/how-to-check-the-username-of-mysql-account-after-installation/feed" rel="self" type="application/rss+xml" /><link>http://www.findistore.com/how-to-check-the-username-of-mysql-account-after-installation</link> <description>We are Professional Web Designer. We specialize in Website Design &#38; eCommerce Web Services</description> <lastBuildDate>Wed, 12 Oct 2011 00:03:14 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: rbjolly</title><link>http://www.findistore.com/how-to-check-the-username-of-mysql-account-after-installation/comment-page-1#comment-4750</link> <dc:creator>rbjolly</dc:creator> <pubDate>Tue, 09 Feb 2010 05:36:08 +0000</pubDate> <guid
isPermaLink="false">http://www.findistore.com/how-to-check-the-username-of-mysql-account-after-installation#comment-4750</guid> <description>If you don&#039;t know the root user login credentials or some other user account that can GRANT privileges, you&#039;re out of luck and you&#039;ll need to run setup again.
If you can login as root, then you can query the user table like so:
USE mysql;
SELECT user FROM user;
This should return all user names in the system. However, if you don&#039;t know the password, you&#039;ll need to assign it again as MySQL encrypts the passwords. So lets assume the database name you want your user to have access to is called mydb, then you would assign permissions like so (assumes your username is myUser and you are going to make calls from localhost...if making calls from another computer, replace localhost with that computer&#039;s IP):
GRANT ALL ON mydb.* TO &#039;myUser&#039;@&#039;localhost&#039; IDENTIFIED BY &quot;yourPasswordHere&quot;;</description> <content:encoded><![CDATA[<p>If you don&#8217;t know the root user login credentials or some other user account that can GRANT privileges, you&#8217;re out of luck and you&#8217;ll need to run setup again.</p><p>If you can login as root, then you can query the user table like so:</p><p>USE mysql;<br
/> SELECT user FROM user;</p><p>This should return all user names in the system. However, if you don&#8217;t know the password, you&#8217;ll need to assign it again as MySQL encrypts the passwords. So lets assume the database name you want your user to have access to is called mydb, then you would assign permissions like so (assumes your username is myUser and you are going to make calls from localhost&#8230;if making calls from another computer, replace localhost with that computer&#8217;s IP):</p><p>GRANT ALL ON mydb.* TO &#8216;myUser&#8217;@'localhost&#8217; IDENTIFIED BY &quot;yourPasswordHere&quot;;</p> ]]></content:encoded> </item> </channel> </rss>
