Im trying to enter and it says This site can't be reached: connection refused... also, I made sure that the settings are right on the html files of the modules I am currently using which are apache and mysql. I've read through the web and someone said that I had to stop the apache module or mysql module, already did it, but no luck... any help with this problem?
As far as I know, you are no need to use the port number.
localhost/phpmyadmin
I hope this will work. If you are using a Linux version. please check this thread.
I had similar problem using easyphp with php, mysql and apache and solved it by running as administrator
What are you using as your local server? Have you restarted the services? Does it say your localhost is running properly?
Related
i want to connect my data base with html web side please tell me how can i connect the html website to MY SQL.
You need to use PHP and setup a Localhost webserver, something like Wamp or Xamp will do.
I personally use Wamp, you can make a Database in the PhpMyAdmin service provided with it.
To further setup and connect to your database, you can simply search on google for some more detailed steps regarding to database connections.
but using a local webserver and php should get you up and running.
You need to use backend script/service to achieve the goal. You cant make connection directly. In between database and frontend (your html pages) there is backend.
to achieve your goal you can use php, node js which has n number of tutorials available.
Your question is getting minus points because it is incomplete and very basic.
Thanks
I have no idea how Windows Server works. All I want to do is gain access to a database in mySQL on Windows Server. Is there a phpmyadmin like there is on Cpanel? I have no idea where to go.
It's a Windows Server 2012 that runs Apache and mySQL on which Wordpress is installed.
Someone please help.
Personally, for accessing mysql databases in a windows app, I use HeidiSQL.. But we don't do recommendations for software on SO, so you're free to choose whatever you want and I'm not going to focus on particular software in this answer
To access the mysql instance you'll need to know the username and password of a user with sufficient privileges to do what you want. If you don't know this username/password, a good place to sart looking is in the config files of any apps (like your apache web apps, wordpress etc) that use the db and see if you can read the password out in plain text there.. With luck the person who set all this up will have left behind the username/password in a config file and yu're away. If your question is about how to break into a database where you don't know the password, make an edit so this is more clear
You might check to see if PHPMyAdmin or MySQL workbench is installed; both are great tools for managing MySQL databases and popular with Wordpress developers
Thanks guys. Yes the server happened to have HeidiSQL installed on it and I was able to access the database.
Thanks for your help.
I'm working on an app with a team. They are able to log in fine when running it on their local servers, however when I try to do so I get 'Invalide username / password' and no network activity or console errors in dev tools.
I have no idea why this could be, we're working on the exact same code - clearly it's something on my machine.
Has anyone come across anything like this before?
(Have tried other browsers and still nothing).
Maybe you need to check your server instalation on your machine.
For example, if you are using XAMPP to manage your Apache maybe there is some configuration that was set in the wrong way.
My advice is, save your code and re-install your server, pay attention to all configuration details and see if the problem is solved.
I am trying to find the server name of my website to connect it to a MySQL database. Using c-Panel with GoDaddy, none of the guides online have answers that actually work. I'd appreciate it if someone who knows what he is doing could kindly guide me to my golden fleece.
P.S, I am using c-Panel version 11.58.0.19.
Thanks.
If you have the website and the database hosted on the same server then you have to use localhost as the server name and that should work.
Try it .
You can search for server information in whm where you will get all the necessary server information.
I want to know how to communicate between nodejs and database.
I found the similar question and tried with 'db-mysql module;
but it doesn't work at window.
it has a problem with install and I found that the problem will never get fixed.
the problem is node-waf, and i found it'll never support at window.
Then how can I communicate with Database, with js file?
If JS file Using Node.js, isn't it only works in the directory that nodejs is installed? And Isn't it only be a JS file?
How can i using the database and db query... such as mysql query.... and how to connect?? Plz help ME..
First of all, I'm not developing with node.js in Windows so I haven't tested myself any of the answers provided below.
There seem to be more than one module to query mysql from node.js, check this link:
https://stackoverflow.com/a/8889152/1366519
Also, https://github.com/mariano/node-db-mysql/ seems to work in cygwin per this answer:
https://stackoverflow.com/a/7025137/1366519