Welcome Guest, Not a member yet? Register   Sign In
load->database() issue - sits at "waiting for localhost"
#3

[eluser]DevTyme[/eluser]
[quote author="Cro_Crx" date="1261473830"][quote author="DevTyme" date="1261467994"]

Code:
$db['default']['hostname'] = "localhost:8080";
$
[/quote]

Try removing the port from the hostname and put it in the port variable.

Code:
$db['default']['hostname'] = "localhost";
$db['default']['port'] = 8080;

Also make sure that your mysql connection is actually on 8080. You can do this by typing "telnet localhost 8080" into the terminal/command prompt. (For Windows Vista/7 you need to install the telnet client first, google it if you need).[/quote]


Hey -- I tried setting a port variable but it did not make a difference. I am, however, thinking they may not be sharing a port. Telnet command line doesnt do anything, just sits there with a blinking space. Is there a configuration file where I can check what port it is running on? How can i change the default port for MySQL?

Thanks in advance


Messages In This Thread
load->database() issue - sits at "waiting for localhost" - by El Forum - 12-22-2009, 05:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB