There’s a little-known trick to using the plesk admin user password to access the mysql database that works on many a plesk machine. Effectively the plesk admin password is stored in /etc/psa/.psa.shadow – in plain text. This means that the following commands for instance work very well as root : mysql -uadmin -p`cat /etc/psa/.psa.shadow` mytop [...]
Archive: auto
Posts Tagged ‘auto’
If you have a secondary hard drive that you have to manually mount in Ubuntu/Linux everytime you boot up and you are not too comfortable with the syntax for fstab, this is a possible easy shortcut for you. You can view the currently mounted partitions by looking at mtap PLAIN TEXT CODE: cat /etc/mtab If [...]
If your Netbeans project is behaving a bit weirdly with regards to code auto completion then this little fix might be for you. Netbeans maintains a cache folder and it looks like this can get corrupted sometimes and need clearing out. Close Netbeans down, empty your $HOME/.netbeans/6.9/var/cache/ folder and then restart Netbeans and hopefully that [...]
If like me you have a Linux drive, but also run NTFS drives for windows/buntu compatability reasons (in my case, simply archive drives that I haven't got around to moving from NTFS to EXT). After nuking my machine thanks to trying a variety of advice found on the net. (I don't recommend you use pySDM [...]