I Cant ran mysql command in terminal in Ubuntu Saucy Salamander [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hi attached is the image showing MySQL Server is currently running and succesfully installed in Ubuntu 13.10, only problem is I cannot communicate with it via terminal so I can't create databases using terminal.
It say's mysql is not currently installed, so what am i missing?
below is that url that I used to install it.
https://serverfault.com/questions/516190/how-to-install-mysql-5-6-on-debian-7-wheezy

By default the current directory is not in your PATH, so it's not searched when you execute commands.
You can do any of the following:
Add /usr/local/mysql/bin to your path (probably best option)
From inside that directory, run ./mysql rather than mysql
Type /usr/local/mysql/bin/mysql instead of mysql
Create an alias
...

Related

how can solve phpmyadmin 403 on laragon? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
The community reviewed whether to reopen this question 7 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I installed laragon.exe.After start all services, the apache and mysql run without any problem.But when I write localhost/phpmyadmin it gives me below messages:
Forbidden
You don't have permission to access /phpmyadmin on this server.
please help on this.Thanks in advance
The latest Laragon have not included phpMyAdmin by default. So that you will not able to access localhost/phpmyadmin.
Now if you want to use phpMyAdmin in Laragon please follow below steps:
Download latest phpMyAdmin zip from here
Extract to path/to/laragon/etc/apps
The folder name must be phpMyAdmin
Restart Laragon and enjoy

Determine if more than one MySQL server installed [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there a way to find out if more than 1 MySQL server installed on a server?
Situation: I'm running an Ubuntu 14.04 with MySQL server installed by plesk, however the service is not starting automatically. I'm assuming that I have another MySQL server which starts instead of the correct one.
Any guide will be appreciated.
use below command if any mysql service is running on your server-
ps -aux | grep mysql
It will show you how many mysql services are running on server or not.

Source code appears with apache, why repare? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I own a site installed on my linux server but when I put PHP tags at the beginning of page, the source code appears..
How to avoid all the source code displayed ?
thank you in advance
This means that you are being served the file by Apache without it first being seen (processed) by PHP. Here are some troubleshooting tips as to why it isn't being processed by PHP:
Make sure that your file with the PHP tags ends in .php.
Make sure PHP is installed on your server. To install PHP on a debian server run sudo apt-get install php5

how can I setup LD_LIBRARY_PATH for apache daemon? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have multiple versions of gcc 4.1.2 and 4.9.1 installed as g++4.9.
The old version had really old libstdc++ and was always failing with requiring libgcc errors. I fixed that by adding
export LD_LIBARY_PATH=/home/naveen/gcc4.9/lib: /home/naveen/gcc4.9/lib64 to all users. I even set this in /etc/bashrc and did . /etc/bashrc as root.
Now I am running a c++ code using php but the code always fails with the same libgcc errors i was seeing from console. I can see that the apache is being controlled by user daemon.
How can I fix this so that apache and php use the modified ld_library_paths?
Edit the scripts that actually start httpd and export the variables there.

why is my apache / php is not running under the right user [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
i used
echo exec("whoami");
and i got
authority\system
and in my httpd.conf
it says
User daemon
Group daemon
why is it not running on the right user ?
also i checked and created the user and restarted apache but still it's running under system
User and Group are ignored on non-POSIX systems. You need to modify the relevant service entry instead under Windows.

Categories