11
I now changed my MySQL setup, so that it doesn't connect over localohost but the actual hostname.
[niclas@f1 niclas]$ MySQL -h niclas.hedhman.org -u XOOPS -pSplendidDay
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1090371 to server version: 3.23.57
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
I can even connect from any machine (password is changed by now).
Then I did my simple php script, and it connects !
I also added the create table, and it creates and executes;
$conn = mysql_connect( "niclas.hedhman.org", "xoops", "WhatAWonderfulDay" );
mysql_query( "CREATE TABLE xoops.Niclas (Abd TEXT)", $conn );
?>
SO, I thought I had something going, so let's start over...
cd www/portal/
rm -rf *
cp -r ~/xoops-2.0.6/html/* .
chmod g+w,o+w uploads/ cache/ templates_c/ mainfile.php
hit the browser to
http://niclas.hedhman.org/portalStep through everything.... BLANK screen after "confirm database settings".