RaitisRR Posted March 14, 2007 Report Share Posted March 14, 2007 Svieki jautajums tadz ka lai pareizi noradu mysql portu ? $db_host = "127.0.0.1"; < man rakstiit piem 127.0.0.1:ports //// vai arii ka savadaak noraadiit ? $db_nosaukums = "xxxxx; $db_lietotajs = 'xxxx"; $db_pasw = "xxxxxxxxxx; $db = mysql_connect($db_host,$db_lietotajs,$db_pasw); Link to comment Share on other sites More sharing options...
andrisp Posted March 14, 2007 Report Share Posted March 14, 2007 A tu pamēģini :). No php.net/mysql_connect: It can also include a port number. e.g. "hostname:port" Link to comment Share on other sites More sharing options...
Roze Posted March 14, 2007 Report Share Posted March 14, 2007 Ports jānorāda tikai tad ja tu specifiski MySQl serveri esi uzstādijis uz cita kā noklusētā 3306.. parasti ar to pašu 127.0.0.1 vajadzētu pietikt. Link to comment Share on other sites More sharing options...
RaitisRR Posted March 14, 2007 Author Report Share Posted March 14, 2007 man ir specifisks ports mysql serverim ! tapec ar prasu vai pareiz inoradu ! tnx pa helpu ! Link to comment Share on other sites More sharing options...
Recommended Posts