Reset the root password for MariaDB (or MySQL)
root@bazingah:/usr/local/bin# dpkg-query -S mariadb-server
© 2022 www.JaxBeachTech.com | Ph: 9o4.834.o433 | email | [50.41]
root@bazingah:/usr/local/bin# dpkg-query -S mariadb-server
Say you want to change the character_set or collation of a MariaDB (MySQL) DB:
ALTER DATABASE databasename CHARACTER SET utf8 COLLATE utf8_general_ci;
I see this fairly often when I have done fast installs of ubuntu:
"Connection for controluser as defined in your configuration failed."
What happens is I ignore the install script that needs to run for PhpMyAdmin to establish its database etc.
Happily the fix is fairly easy - just run the script again now:sudo dpkg-reconfigure phpmyadmin
I am surprised that there have been no updates to the webmin interface to support the new samba version (that has been rolled out to most major linux distros now) -- am I the only one that has been using webmin to do my admin on samba servers ? I think NOT...
Anyway - here is a quick and dirty fix to the start/stop entries in the webmin samba module to correct it for Version 4:
Command to stop Samba servers
service smbd stop && service nmbd stop
Command to start Samba servers
service smbd start && service nmbd start
Beware people (like me) who offer solutions (like this)...
That said, here is how I have (several times) repaired this error on my HTC EVO 4G LTE.
(it's a Sprint phone, but I think these issues are across all of the telcos)
On your KEYPAD, type this:
Polymer looks like it may be very cool -
https://www.youtube.com/watch?v=yRbOSdAe_JU
I was excited to find this, so I am saving it here.
echo -e "newpasswd\nnewpasswd" | (smbpasswd -s username)
And note the "\n" in there to push a newline between the two passwords...
echo -e "newpass\nnewpass" | (passwd --stdin username)
donmc@etiikka:~$ php -r 'print_r(gd_info());'
Array
(
[GD Version] => 2.0
[FreeType Support] => 1
[FreeType Linkage] => with freetype
[T1Lib Support] => 1
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPEG Support] => 1
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] =>
[JIS-mapped Japanese Font Support] =>
)
sudo add-apt-repository ppa:george-edison55/openssl-heartbleed-fix
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python-software-properties
Specializing in expert technology advice and implementation in NorthEast Florida