Page 1 of 1
Problem regarding mysqli
Posted:
30. May 2011 10:42
by Paul Edward Lirasan
Im a newbie on xampp for linux.. i don't know how to enable MYSQLI please please help
Re: Problem regarding mysqli
Posted:
30. May 2011 15:50
by Nobbie
MySQLi is already enabled in Xampp.
Re: Problem regarding mysqli
Posted:
31. May 2011 04:02
by Paul Edward Lirasan
Still iget this kind of error
Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1042): Can't get hostname for your address in /opt/lampp/htdocs/ims/config.php on line 13
Warning: mysqli::autocommit() [mysqli.autocommit]: Couldn't fetch mysqli in /opt/lampp/htdocs/ims/config.php on line 14
Connect failed: Can't get hostname for your address
i've already change my the hostname.. and still i get this error
Re: Problem regarding mysqli
Posted:
31. May 2011 11:01
by Nobbie
a) this is only a warning, you may switch off error reporting for warnings
b) or ask the developer of the script about that problem.
c) or simply edit the config.php file and look what is happing there
Re: Problem regarding mysqli
Posted:
02. June 2011 08:47
by Paul Edward Lirasan
the script is working on xampp for windows..
so i try connecting to mysql server using ubuntu command line but the output is this
mysql -u root -h 10.20.xx.xx -p
ERROR 1042 (HY000): cant get hostname for address
i've already specify my nameserver and append a domain name...
Re: Problem regarding mysqli
Posted:
13. June 2011 10:46
by Paul Edward Lirasan
I've Solved the problem.. i just editted my.ini located on my windows i just upgrade mysql and remove the bind_address...