I also faced same problem when i installed it first and used
localhost/phpmyadmin.
after searching alot i found there is a funda of Aliasing in http
apache server. http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
,
this link will help you. you have to redirect link of phpmyadmin in
apache2's conf.d.
i created a file name phpmyadmin.conf in /etc/apache2/conf.d
edited it by writing -> Alias /phpmyadmin /usr/share/phpmyadmin
as my phpmyadmin is extracted in /usr/share/phpmyadmin
try it else follow link . might be it could be helpful to you.

On 7/29/10, Nilesh Govindarajan <[email protected]> wrote:
> On Thu, Jul 29, 2010 at 12:53 AM, Abhishek Gupta
> <[email protected]> wrote:
>>> I think the username is root
>>> and you have to set password using command
>>> $ sudo mysqladmin -u root password YOURPASSWORD
>>
>> I am getting the following error:
>> mysqladmin: connect to server at 'localhost' failed
>> error: 'Can't connect to local MySQL server through socket '/var/run/
>> mysqld/mysqld.sock' (2)'
>> Check that mysqld is running and that the socket: '/var/run/mysqld/
>> mysqld.sock' exists!
>>
>> --
>> l...@iitd - http://tinyurl.com/ycueutm
>>
>
> /etc/init.d/mysqld start
>
> --
> Regards,
> Nilesh Govindarajan
> Facebook: http://www.facebook.com/nilesh.gr
> Twitter: http://twitter.com/nileshgr
> Website: http://www.itech7.com
> VPS Hosting: http://www.itech7.com/a/vps
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>


-- 
"dirtydevil"
www.dirtydebiandevil.wordpress.com
Kunal Gupta,
3rd year, ECE, Engineering college bikaner.

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to