yPHPzEthna part.2 ..
[2ch|₯Menu]
16:nobody‚³‚ρ
07/08/30 11:41:22
>>14,15
11‚Ε‚·B‚ ‚θ‚ͺ‚Ζ‚€‚²‚΄‚’‚ά‚·B
15—l‚Μ‹Β‚ι’Κ‚θApg_connect‚΅‚Δ‚έ‚½ŠAˆΘ‰Ί‚ΜƒGƒ‰[‚ͺ”­Ά‚΅‚ά‚΅‚½‚ͺ
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432?
‚¨‰A—l‚ŁAƒGƒ‰[ƒƒbƒZ[ƒW‚ͺ‚ζ‚θ’ΌΪ“I‚Ι‚Θ‚Α‚½ˆΧA‚±‚κ‚𒲂ׂ½‚Ζ‚±‚λ
pg_connect("dbname=testdb user=dbuser password=password")
‚ΜŒ`‚ŁihostŽw’θŠO‚΅js‚―‚ιŽ–‚ͺ”»–Ύ‚΅‚ά‚΅‚½B‘S‚­EthnaŠΦŒW‚Θ‚©‚Α‚½‚Ε‚·B‘ε•ϐ\‚΅–σ—L‚θ‚ά‚Ή‚ρ‚Ε‚΅‚½cB
‚ΰ‚€­‚΅ΪΧ‚Ι’²‚ׁApgsql/data/postgresql.conf‚Μtcpip_socket = true‚π•ύX‚·‚ιŽ–‚Ε
hostŽw’θ‚ΰ‰Β”\‚Θ‚ζ‚€‚Ε‚·‚ͺAlocalhost‚©‚ηˆΘŠO‚͐ڑ±‚΅‚Θ‚’‚½‚߁A‚±‚κ‚͐ݒ股‚Θ‚’Œ`‚ŏI‚¦‚ά‚΅‚½B
‰πŒˆ‚ΜŽ…Œϋ‚π‰Ί‚³‚Α‚½•ϋX‚ΙŠ΄ŽΣ’v‚΅‚ά‚·B–{“–‚Ι‚ ‚θ‚ͺ‚Ζ‚€‚²‚΄‚’‚ά‚΅‚½B


ŽŸƒy[ƒW
ΕVƒŒƒX•\ަ
ƒXƒŒƒbƒh‚ΜŒŸυ
—ήŽ—ƒXƒŒˆκ——
˜b‘θ‚Μƒjƒ…[ƒX
‚¨‚ά‚©‚ΉƒŠƒXƒg
₯ƒIƒvƒVƒ‡ƒ“‚π•\ަ
‰Ι‚Β‚Τ‚΅2ch

5369“ϊ‘O‚ɍXV/93 KB
’S“–:undef