How to access a database on mySQL on Windows Server 2012 - mysql

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.

Related

I can't enter to "localhost:8080/phpmyadmin"

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?

Can I deploy Joomla on my desktop within the same FastStack service I implemented for SugarCRM (running Apache and MySql via FastStack)? If so how?

The problem is that I am unable to get Joomla to create the Mysql database. It is saying that I may not have enough permissions to create a new database. I know how to create a database on a typical web host server, but not finding the same set up on the FastStack desktop implementation. Joomla wants me to make the database, but how do I do that? I suspect the Faststack is set-up only to support Sugar and is not expandable to add more databases. In which case, I would need to deploy a full version of Mysql on my desktop? And maybe a full version of Apache? Or maybe better to find a FastStack implementation of Joomla, as well?
How to do that, if so? THANKS!
What mysql account are you using when you setup the mysql in the install app? If you use the root user you should have full permissions. You could also just use the database that is already there. All Joomla tables have a prefix of jos_ so should not cause conflict with sugar tables.

forgot password to mysql database installed on windows, database is production, is it safe to reset?

Someone installed mysql and a web app is using it and we do not know the password. Not mission critical, it can be down overnight as long as it's up by 8am.
I've seen a few links on resetting passwords - I'd like to try this: http://www.mydigitallife.info/2006/04/23/reset-the-root-password-of-mysql-server/
The thing is, I am not a mysql admin, just a developer. Is this safe to try?
Thank you all!
I strongly suggest against using MySQL root accounts for web applications. Any hole in your code could expose your database to a unacceptable risk. If your application is using a root password, please continue reading. Otherwise, just reset the password from your root account (and change the web app configuration to use the new password).
Yes, the method described there is safe to be used. Do not forget to remove that SQL file immediately after you've run it and change the passwords inside the applications. Before doing this reset, you might want to deny access to your webapp to avoid information disclosure (e.g. errors about unestablished database connections).
If a web app is using the database, it must have the password stored somewhere. For typical PHP web app, the password is most likely sitting in a config file.
I would explore that first before resetting the password in mysql side. Since, you will have to update web app anyway, it can't hurt to look there first.

creating a server project in vb6 and ms-access

i am making a project in visual basic 6 and ms-access. Its about college management system
and is a server based application. Clients can access the system in the server. But the main problem is how can i make my client use the access file located in the server computer.?? if my database file is already opened in the server computer then my clients cannot access the file in the server. Is there any another way to resolve the problem?
How can i make a database file in access so that all my clients can use it simultaneously?
Please help...
I believe you'll find your answer here.
Quoting from the MSDN article:
To prevent this behavior, you must
make sure that all users who open the
database have read, write, and create
rights for the folder in which the
database is located.
Additionally, if you are using a
security-enhanced Access database, you
must make sure that the users who open
the database also have Read permission
and Write permission on the folder
that contains the workgroup
information (.mdw) file.
I can't see any reason why clients on other computers can't open the same access database at the same time. What makes you think they can't? Can you provide more details on the problem?
That said are really sure you want be using MS Access as the DB? Why not simply use SQL Server 2008 Express? You can use either the SQL 2008 management tools to administer this DB or you can use MS Access connected to the SQL 2008 Express engine. This approach will definitely be considerable more stable and significantly faster.
Edit:
To answer your question more specifically it is possible to open an Access database exclusively which would result in your problem. Are you using ADO? What is your connection string?

How to access phpMyAdmin on remote server

For my websites I use Dreamhost. Dreamhost requires you to create a hostname (ex: mysql.mclindigital.com) that the database will reside on. For me it's simple, if I want to access phpMyAdmin, I simply navigate to mysql.mclindigital.com, and it enters into phpMyAdmin automatically.
Apparently Dreamhost is in the minority using this method, because most people seem to use "localhost". So, how do I access phpMyAdmin for these websites? Will I need to get their Web Panel login info to browse around for this info?
As an example, I had a past client and I had to go here: http://216.120.237.104:2082/3rdparty/phpMyAdmin/index.php to get into their phpMyAdmin. I never really understood what I was doing, but it just worked. Now I am in the same situation, but this time the client isn't as tech-savvy and is unable to give me the URL I need to go to.
Also, I should point out I am not 100% certain that they have phpMyAdmin installed. I do know they have a database however, because they are running a Wordpress Blog.
There is nothing magic or special about phpMyAdmin. It is just
a bunch of php scripts.
Some webhosts(Such as dreamhost) may install it as standard
similary to formmail and a bunch of other tools they may install.
Your problem is most likely that you client don't have
phpMyAdmin installed, and the easy solution(If you have ftp access)
is to go to http://www.phpmyadmin.net/home_page/index.php download
phpMyAdmin, configure it and then just upload it to their ftp server
your self. Then you can acces it similary to any other php script.