Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: PHP & MySQL, Does MySQL work with DSL's PHP< Next Oldest | Next Newest >
pablo.mrg Offline





Group: Members
Posts: 2
Joined: Feb. 2005
Posted: Feb. 04 2005,08:21 QUOTE

Hi all,
 I installed php.tar.gz from the 'My DSL Click & Load GUI', I configured Monkey web server to use php and it seems to be working: I can easily access the "phpinfo();" in a sample page I built for testing...

 In this page I can see that MySQL is installed and I see

Code Sample

MySQL Support = enabled
Active Persistent Links = 0
Active Links = 0
Client API version = 3.23.49
MYSQL_MODULE_TYPE = builtin
MYSQL_SOCKET = /tmp/mysql.sock
MYSQL_INCLUDE  = no value

MYSQL_LIBS = no value

Directive                      Local Value         Master Value
mysql.allow_persistent    On                    On
mysql.connect_timeout   60                     60
mysql.default_host         no value             no value
mysql.default_password  no value             no value
mysql.default_port         no value             no value
mysql.default_socket      no value            no value
mysql.default_user        no value            no value

mysql.max_links             Unlimited           Unlimited
mysql.max_persistent      Unlimited           Unlimited
mysql.trace_mode          Off                   Off


However I installed phpMyAdmin and I can't get it working, I see

Code Sample

MySQL Message: Documention

#2002 - Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


Any idea to make it working?

Thanks
Back to top
Profile PM 
Max Offline





Group: Members
Posts: 211
Joined: July 2004
Posted: Feb. 04 2005,12:33 QUOTE

I might be mistaken, but that PhpInfo() code just tells you that PHP is *able* to connect to MySQL, not that MySQL is actually present on your system.  For all PHP knows, you'll be connecting to a MySQL server on another box.

--------------
Using DSL on: IBM T42, IBM 560x, Dell Dimension CPx
Back to top
Profile PM 
pablo.mrg Offline





Group: Members
Posts: 2
Joined: Feb. 2005
Posted: Feb. 04 2005,15:21 QUOTE

Ok, thanks
Back to top
Profile PM 
2 replies since Feb. 04 2005,08:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: PHP & MySQL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code