Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Change mySQL port

phpMyEdit General     Change mySQL port
Odoslať novú tému   Odpovedať na tému    
 
joshskan     Založený: 18.05.2009   Príspevky: 4  
Príspevok Zaslal: 2009-05-18 22:34
Návrat hore  Odpovedať s citátom     

I need to work with a database that is using a different port from the mysql default port of 3306. How can I make phpMyEdit work with this, but for the setup and for the resulting code.

Has anyone done this yet?

 
joshskan     Založený: 18.05.2009   Príspevky: 4  
Príspevok Zaslal: 2009-05-18 23:13
Návrat hore  Odpovedať s citátom     

I need to work with a database that is using a different port from the mysql default port of 3306. How can I make phpMyEdit work with this, *both* for the setup and for the resulting code.

Has anyone done this yet?

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2009-05-19 14:47
Návrat hore  Odpovedať s citátom     

In this example, change 3306 to your port number.

Kód:
$opts['hn'] = 'localhost:3306';


 
joshskan     Založený: 18.05.2009   Príspevky: 4  
Príspevok Zaslal: 2009-05-19 18:31
Návrat hore  Odpovedať s citátom     

Thanks for the reply. I tried that and it didn't work. I don't believe mySql likes the ":3306"

 
joshskan     Založený: 18.05.2009   Príspevky: 4  
Príspevok Zaslal: 2009-05-20 00:37
Návrat hore  Odpovedať s citátom     

Sorry, that worked perfectly. I didn't realize I had outgoing traffic blocked on my router for that port.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov