Jump to content

Install MySQL for local development


sqrl

Recommended Posts

got help on mirc.

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.
Link to comment
Share on other sites

When mysql is installed without enable TCP/IP it naturally gets an error when logging in command line mysql -u root -p

The error is: Can't connect to MySQL server on 'localhost' (10061)

How then is mysql accessed?
Link to comment
Share on other sites

Well Sqrl,
Sorry to overwhelm you with help but check out this link
http://dev.mysql.com/tech-resources/articles/securing_mysql_windows.html
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.
Link to comment
Share on other sites

So this will log you in on command line:
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...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.