RaitisRR Posted March 14, 2007 Report 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);
andrisp Posted March 14, 2007 Report Posted March 14, 2007 A tu pamēģini :). No php.net/mysql_connect: It can also include a port number. e.g. "hostname:port"
Roze Posted March 14, 2007 Report 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.
RaitisRR Posted March 14, 2007 Author Report Posted March 14, 2007 man ir specifisks ports mysql serverim ! tapec ar prasu vai pareiz inoradu ! tnx pa helpu !
Recommended Posts