Problem regarding mysqli

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Problem regarding mysqli

Postby Paul Edward Lirasan » 30. May 2011 10:42

Im a newbie on xampp for linux.. i don't know how to enable MYSQLI please please help
Paul Edward Lirasan
 
Posts: 6
Joined: 30. May 2011 10:36

Re: Problem regarding mysqli

Postby Nobbie » 30. May 2011 15:50

MySQLi is already enabled in Xampp.
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04

Re: Problem regarding mysqli

Postby Paul Edward Lirasan » 31. May 2011 04:02

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
Paul Edward Lirasan
 
Posts: 6
Joined: 30. May 2011 10:36

Re: Problem regarding mysqli

Postby Nobbie » 31. May 2011 11:01

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
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04

Re: Problem regarding mysqli

Postby Paul Edward Lirasan » 02. June 2011 08:47

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...
Paul Edward Lirasan
 
Posts: 6
Joined: 30. May 2011 10:36

Re: Problem regarding mysqli

Postby Paul Edward Lirasan » 13. June 2011 10:46

I've Solved the problem.. i just editted my.ini located on my windows i just upgrade mysql and remove the bind_address...
Paul Edward Lirasan
 
Posts: 6
Joined: 30. May 2011 10:36


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests