XF 2.0 Weird message on test server when using cmd.php

Are you using localhost as the database host in your configuration file? The MySQL socket settings for the CLI SAPI might be pointed to the wrong location. You could try using 127.0.0.1 to use a TCP connection instead.
 
Top Bottom