Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Change mySQL port

phpMyEdit General     Change mySQL port
Post new topic   Reply to topic    
 
joshskan     Joined: 18 May 2009   Posts: 4  
Post Posted: 2009-05-18 22:34
Back to top  Reply with quote     

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     Joined: 18 May 2009   Posts: 4  
Post Posted: 2009-05-18 23:13
Back to top  Reply with quote     

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     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2009-05-19 14:47
Back to top  Reply with quote     

In this example, change 3306 to your port number.

Code:
$opts['hn'] = 'localhost:3306';


 
joshskan     Joined: 18 May 2009   Posts: 4  
Post Posted: 2009-05-19 18:31
Back to top  Reply with quote     

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

 
joshskan     Joined: 18 May 2009   Posts: 4  
Post Posted: 2009-05-20 00:37
Back to top  Reply with quote     

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

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy