Install MySQL for local development
Posted 30 August 2006 - 03:01 PM
When installing mysql without tcp/ip support I can't login from command line.
Doing this tutorial:
Posted 30 August 2006 - 03:05 PM
Anything after the colon is the port number.
What are using to connect to MySQL DB?
Posted 30 August 2006 - 03:17 PM
Command line as stated in tutorial
Perhaps I should just write a php page to connect?
I'd like to get mysql manager going but this is all so unclear
Posted 30 August 2006 - 03:53 PM
The sub folders must be deleted after you uninstall otherwise old passwords get stuck in there.
I still can not get it to work without being a security risk (enabled tcp/ip)
That is so lame that the uninstaller does not remove all the folders and files! That is what uninstall means.
Posted 30 August 2006 - 04:14 PM
The error is: Can't connect to MySQL server on 'localhost' (10061)
How then is mysql accessed?
Posted 30 August 2006 - 04:22 PM
Sorry to overwhelm you with help but check out this link
See step 6
I'm reading it now and it talks about named pipes etc...
What a joke eh? - You'd think the standard install would not work online unless you did check a bunch of boxes with security warnings.
Posted 30 August 2006 - 04:28 PM
C:\>mysql -h . -u root -p
This will connect to the server using named pipes. With recent (4.1 and higher) servers you can also use the --protocol=pipe option instead of specifying -h . on the command line:
C:\>mysql --protocol=pipe -u root -p
when you installed it without tcp/ip support
Now how to make php see this we'll see...
Posted 30 August 2006 - 06:22 PM
You must be willing to dig deep and spend lots of extra time fiddling with files with this open source stuff.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users