© 2023 PodTECH IO
All rights reserved.

Get in Touch

PHP SQL

2002 Cannot log in to the MySQL server – MAC

2002 Cannot log in to the MySQL server – MAC To fix In /etc/php.ini, replaced the three occurences of /var/mysql/mysql.sock with /tmp/mysql.sock prompt% sudo chmod u+w php.ini   <- had to give myself write permission to that file.. you may need to become root user to actually edit the file.. depends who owns php.ini Now edit […]

Miscellaneous

Data from a Pivot

see the example below: [vb] Sub PTTest() Dim SH As Worksheet ‘ the current worksheet from the colection of workbooks Dim PT As PivotTable ‘ the current pivot table from the current worksheet Dim PTC As Range ‘ the cell range of the current pivot table Dim Tmp AsString’ the buffer for concatenated cell values […]

MYSQL

Reset MYSQL root password – Linux

Reset MYSQL root password – Linux Log on to your Linux machine as the root user. The steps involved in resetting the MySQL root password are to stop the MySQL server, restart it without the permissions active so you can log into MySQL as root without a password, set a new password, and then restart […]

UNIX

UNIX Boot Mode – Run Levels

UNIX Boot Mode – Run Levels Runlevel “3” will boot to text or console mode and “5” will boot to the graphical login mode ( “4” for slackware) Runlevel Scripts Directory (Red Hat/Fedora Core) State 0 /etc/rc.d/rc0.d/ shutdown/halt system 1 /etc/rc.d/rc1.d/ Single user mode 2 /etc/rc.d/rc2.d/ Multiuser with no network services exported 3 /etc/rc.d/rc3.d/ Default […]

Datacentre

MPO Connector – Ready for business

Improved design and engineering efforts make the interface a strong asset, not a weak link. As the industry deploys 40-Gbit/sec optical networks and moves ahead to 100-Gbit/sec data rates, service providers and data center managers may question whether the multi-fiber push-on (MPO) connector can perform reliably at those speeds. They saw the first-generation MPO as […]