Installing MySQL Debian Apache2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Something of a newbie to Linux, so if this question is too simple for this list, please point me elsewhere.


aspberry Pi) and having problems setting password for root when installing MySQL.  Despite seeming to accept the password, it does not seem to and  I get:


when starting mysql with:

mysql -u root -p whatever


Tried uninstalling and reinstalling



mysqld_safe --skip-grant-tables
and

update user set Password=PASSWORD('new-password') where user='root';


Now getting:


ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


Is there another way to set this password?







Regards
Graham Lewis

Co-ordinator
The Centre for the Development of Staff and
Academic Practice
Aberystwyth University
Cledwyn Building (Room S1)
Penglais Campus
Aberystwyth
Ceredigion
SY23 3DD
 
Phone: 01970 621802
Mobile: (+44) 7779234032
Twitter: @Ham5ster

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux