I am using both an IIS and wamp server in parallel on my system. I changed the wampserver port to localhost:8080 in the httpd.conf, but during the joomla installation,it is getting stuck on the database configuration using following information:
hostname:localhost:8080,
username and password:root,
database name:mydatabase (i created with wamp's phpmyadmin).
I dont know why it is getting stuck. Can anyone help me?
Port 8080 is the port to your website, not your database. Try omitting the 8080 port and use the default 3306 MySQL port.
Related
i downloaded MySQL workbench and the port is 3306 then i runs the x.a.m.p.p and the port is 3306 also i change the x.a.m.p.p port to 3307 and still not working
is their any solution to this
First we need to make sure that you installed XAMPP in proper way. Follow this video about how to prepare PHP environment using XAMPP.
If you followed the steps correctly make sure that both MySQL and Apache servers are running.
Then in XAMPP control panel click on MYSQL Admin. It will open phpMyAdmin and it will show a successful connection to MySQL server. If you noticed any error this means you have problem in your MySQL server.
Also it will be a good help to tell us from there your server type and version and your MySQL workbench version.
I try to connect my Laravel project into my local development environment to Google Cloud SQL (MySQL).
For this, I connected from my OSX Terminal with the Cloud SQL-Proxyclient to the remote database with port 3307.
I can connect with my MySQL Workbench to the remote database, and I can see/change tables, ...
Into my Laravel project into .env I changed the settings:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3307
DB_DATABASE=mydatabasename
DB_USERNAME=mydatabaseusername
DB_PASSWORD=mydatabasepassword
When I open my project into the browser, into terminal I can't see, that something tries to use the connection.
Into the browser I get an error message:
SQLSTATE[HY000] [2002] No such file or directory (2002)
I think, the project can't connect to the remote database
How can I solve this problem?
Thanks for help!
While the Cloud SQL Proxy connects to your database on port 3307, you want to connect to the Cloud SQL proxy on port 3306 (this is the default mysql port). You can also specify a custom port by updating the instances argument:
./cloud_sql_proxy -instances=my-project:us-central1:sql-inst=tcp:3306 &
I added now the public IP address of the server, and I added my local IP address to allowed IP adresses for the MySQL server. Now it works.
Make sure you have config for right DB_HOST. Let get an IPv4 Read this for more informations:
https://cloud.google.com/sql/docs/mysql/connect-external-app#appaccessIP
I installed xampp on my windows 10. Here the problem is when ever i try to access
localhost:8080
it response something like this
site cannot be reached
But if I try directly without like using any port something like this
localhost/dashboard
This is accessible
I want to know what is the problem here why localhost:8080 is not reached.
and How can i solve this problem.
I just learned that if you change your Main Apache Server port from 80 (or default) to 8080, you will also need to change your URL from "localhost/" to "localhost:8080"
After you update your port and once you enter the correct URL you should be able to access your PHP MySQL. If you can, but are unable to access Word Press installation, you may want to check out this helpful link on updating your Port Values in your localhost Database for WordPress.
https://www.tipsandtricks-hq.com/how-to-fix-wordpress-site-not-working-on-localhost-after-port-change-9373
I am using WAMP on Windows 7 Enterprise. It was working fine initially, even though the icon remained red in the tray. My PC remains on 24x7 but yesterday I restarted it due to a pending windows update. And now, WAMP no longer works i.e. I cannot access anything under localhost. The browser (chrome) returns a webpage unavailable error.
I do not have Skype installed. I did try and test, and it said that Port 80 is used by some other application. As I do not have admin rights, I reconfigured the httpd.conf file for Apache to port 81, but even that did not help.
I also ran a netstat -ao using CMD, but I could not find anything running on Port 80.
Any ideas as to what can be done to solve this? Thanks.
I had the same issue in my windows 7 home basic.
Maybe you could solve by this:
1)Your port 80 is mostly blocked by Microsoft iis server. so if iis is using port 80 than apache wont be able to use the port.
2) So, change the listening port of apache. apache has a file name httpd.conf.Open the file in a text editor and there will be port 80 already written, change the port to 8080 (mostly people use 8080).
3)So now your Apache runs on different port.
4) Restart apache services or restart your wamp server.
5)now Open your local host by, localhost:8080
6)you will see your localhost page.
Hope it solved your problem.
i hosted an apache server by changing few details in the httpd.conf file, used this tutorial. i also did port forwarding so that the server is able to respond behind the wireless router (firewall), it worked completely fine ( i checked by typing the ip and port number from some other host outside the network). now i am trying to run servlets for which i need tomcat server. i have installed tomcat but i am unable to access the server from another host that is not on the same network. could somebody please guide as to how can i achieve this.
I guess I would go with The Apache-Tomcat Connector and use it to connect your new tomcat instance to your Apache.
I did the same thing just as I for apache server, except that I changed the listening port to something else. added that entry in the router. incorporated tomcat in eclipse and then started the sample project. using whatismyip.com, i got the ip address. i could access my webserver from elsewhere...