Yesterday i installed xampp in my local server. Now what i have both wamp ( c drive) and xampp(g drive) in my local PC.
while installing xampp mysql was not working so i had to uninstall mysql from my local server which was with the password 'abcd'.
Now both wamp and xampp i can run easily but i can not able to see my old wamp (phpmyadmin) database that i have created while i was working with wamp.
Now i want to see those databases when i connect to wamp localhost.
Is there any way to see those databases.
Thanks
Related
I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql. The server Apache and the MySql services are running properly on the Xampp control panel. But when I run the localhost on my web browser it just shows object not found. what should i do
I have created a local project that connects to a SQL2012 database. On my local machine I have Windows 7 64Bit enterprise, with MS SQL drivers with no problem at all. I moved the project over to a Windows Server 2012R2 production machine. I got the web server up and PHP working fine.
I checked the phpinfo() file and sql drivers are enabled and sqlsrv is a 'registered stream'
I have try & catch blocks for all my connections to the database. No errors
I have checked the Apache error logs and there is no indication of a problem connecting to the DB.
My project uses SQL authentication, using a Username and Password - not built in Windows Authentication. I tried to change the password to a incorrect one ---> still no error?!!
I even tried to disable Domain, Public, and Private Window Firewalls. Still nothing.
I'm totally stumped, perhaps someone here may have some ideas.
Does anyone know if the SQLSRV30 pack is compatible with Windows 2012R2?
OK I have figured out what the problem was, I needed to install Microsoft® SQL Server® 2012 Native Client located at: http://www.microsoft.com/en-us/download/confirmation.aspx?id=29065#
After that installed everything is working fine.
I have my Windows 7 desktop computer, and created php application which uses mysql database. I tried to run that after creating environment in my desktop with the help of XAMPP. It worked perfectly without any problem. I tested that same application in WAMP and it worked perfectly there also.
However, at the time of deployment to the Windows R2 2008 server, I used IIS to get the application run. Following is the description of firmware installed:
Installed mysql and mysql workbench
Installed IIS using Control panel-> add remove program-> turn on windows feature on off -> iis
Installed php 5.3 version using Microsoft Web platform installer (Web PI).
Activated FastCGI with the help of following link: on-iis#InstallPHP
Updated necessary changed in php.ini file. Activated port 3306 for mysql and port 80 for localhost.
Checked localhost and phpinfo.php file and both work fine.
Deployed application, and tried to run using localhost and 127.0.0.1 as well as from local IP address and it executed the first login page perfectly.
Everything works perfectly. However, I open the entry form in the application, and tried to fill up the form, and when clicked on submit, the data are not getting saved in database.
As a test, I checked by importing the old database and while searching the data in other application page, I am able to see the data coming from the database. But problem only happens when I do any insert any entry or try to submit data, I can't get the data saved in database.
This same thing works perfectly in WAMP and XAMPP however, does not work on IIS environment.
The MySQL user being used to interact with the database may not have the INSERT Grant for that database. WAMP and XAMPP are both using a mysql user with defined privileges. Have you created the same user with the same privileges on the newly created MySQL instance on your Windows 2008 server? You may consider reading over the MySQL Grant syntax. Utilizing mysql_error() for error trapping could prove useful for troubleshooting as well.
I have two operating systems installed on my computer. Mac and Windows. Currently i'm developing web based application using php, xampp, and sql server 2008.
I installed local server (xampp) on MAC os, and the database engine (sql server 2008) on Windows 2008.
How can I connect my xampp to the database in different OS?
Thank in advanced.
Assuming you are able to boot them simulatinously, the only thing you may need to do is to port forward your router using your db port.
You don't need to do some kind of xampp modification to connect to your database. Xampp is a single workstation solution for Apache, MySQL, php bundle. You are able to use any of them in collaboration with any other outer resource.
You may want to configure your phpmyadmin to connect your new db. Necessary config file is located here: /opt/lampp/phpmyadmin/config.inc.php
I am new to servers and the command line, but I have successfully transfered my php files to the server and it appears that i have imported the mysql database successfully (at least i see it in /var/lib/mysql). I am using Linode as my host, I am locally using MAC terminal to connect to a ubuntu linux server.
Could anyone explain what I may be missing or how I should properly set things up?