PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
IBM developerWorks
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old February 19th, 2007, 08:14 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
PHP MySql installation

Hi,

I am new to php & learning from last week. I have installed php successfully after struggling of 3 days. Yesterday i tried to access the my sql database but couldnt. I tried to investigate to find why php cant be able to access my sql.

The following are the properties i have set up manually in php.ini in windows directory.

mysql.default_port string
The default TCP port number to use when connecting to the database server if no other port is specified. If no default is specified, the port will be obtained from the MYSQL_TCP_PORT environment variable, the mysql-tcp entry in /etc/services or the compile-time MYSQL_PORT constant, in that order. Win32 will only use the MYSQL_PORT constant.


mysql.default_socket string
The default socket name to use when connecting to a local database server if no other socket name is specified.

---- There is no port in /etc/services against my sql. Can you please suggest me what how could i maintain the port no in services file.


mysql.default_host string
The default server host to use when connecting to the database server if no other host is specified. Doesn't apply in SQL safe mode.

I have changed it to localhost

mysql.default_user string
The default user name to use when connecting to the database server if no other name is specified. Doesn't apply in SQL safe mode.

i have set up manually root

mysql.default_password string
The default password to use when connecting to the database server if no other password is specified. Doesn't apply in SQL safe mode.

set up the password manually root.

Can you please explain me why its not working....still

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP MySql installation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway