Ubuntu Servers :: Access Mysql Within Same Server

Jul 15, 2010

When you access mysql within the same Apache server (same ip address) via php, do you need to GRANT user ip in order to login to mysql?

Where are the log files for php, mysql etc?

View 4 Replies


ADVERTISEMENT

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :

Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing

[code]....

View 4 Replies View Related

Ubuntu Servers :: Setup The MYSQL Server - Error: 'Access Denied For User 'root'@'localhost' (using Password: NO)'

Mar 26, 2010

I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-

Quote:

root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Query :-

1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).

2) Is there a way to

a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working

(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)

Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)

View 4 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Can't Access Mysql Mod_proxy?

Feb 5, 2010

I set up mod_proxy in order to get rid of :8080 now I cant access phpmyadmin through the browser. what is the quickest way to turn off mod_proxy and access phpmyadmin? I would like to optimize the tables and back up the sql file. I just need to turn it on for a bit, and then enable mod_proxy again.Right now, if I got to localhost/phpmyadmin, it redirects to the main application.

I have used a2enmod, and added
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_ajp

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Can't Access MySQL With Root?

Dec 11, 2010

I'm running an Ubuntu 9.04 Minimal server and trying to get MySQL to work correctly. But when I try to access MySQL with the root user it doesn't want to.

Code:
mysql -u root -p
Enter password:

[code]....

View 4 Replies View Related

Ubuntu Servers :: Can't Access The MySQL Prompt

Jul 22, 2011

I erased Windows a week ago and is loving Ubuntu 10.04 (which changed to xubuntu after installing Qimo for Kids??) ever since. Now I want to get coding again and PHP is working fine, but I can't access mysql!?I followed a ton of guides, completely removed, reinstalled etc. Nothing works.Here some stuff that might be interresting. I can't remember the "ls" and "awk" and "grep" commands to use, so please guide me if you need more info.

sudo mysql status
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
sudo update-rc.d mysql defaults
update-rc.d: warning: /etc/init.d/mysql missing LSB information

[code]...

View 4 Replies View Related

Ubuntu Servers :: Unable To Access Mysql Database?

Aug 15, 2010

We started our project (it's a website "employee performance appraisal system") in windows by starting with some html forms and then slowlyadded php ,javascript and other stuff in windows we had no issues of insertion and retrieval of data from thedatabase.Now,we decided to shift the entire stuff to drupal the html forms along with those php files but we had 2 issues with this1. the first one was ..we created "page" for each html form and copied the html code into "page" but we didn't find where our pages are getting stored (do they get stored in mysql database that we create for drupal siter do they remain as html pages somwhere?)2.second problem was ...for admin in drupal I gave the username "root" and a password ..similarly for mysql also I gave a password.

now I used phpmyadmin and created another database called "appraisal" which is supposed to hold the data of our website.when I try to insert data into one of the tables of this database (attendance table) ,the following error occured "Attempt to connect failed access denied for user 'root'@'localhost'(using password:NO) cannot run querry insert intoattendance values('x','y')" Access denied for user 'root'@'localhost' (usingpassword:NO)Also I'm unable to access mysql as a normal user only super user can access and can we unset the password that's required to reach mysqlprompt?

View 2 Replies View Related

Ubuntu Servers :: Can't Access MySQL Remotely Via PhpMyAdmin?

Jan 3, 2011

One server is a dedicated MySQL server. After upgrading that one to Ubuntu 10.04 (from an ancient Suse 9.2), both servers are running Ubuntu 10.04 LTS.I have another server that I use to administer the database server via phpMyAdmin. However since the upgrade it is not able to connect. I get an error #1130 Cannot log in to the MySQL server. The same happens if I try to connect remotely from the command line with: mysql -u root -h 129.79.137.121 -pI'm not sure if this is an iptables/ports problem or a configuration problem on the MySQL end or something else entirely.I've searched and tried the suggestions I've found in various places but none seems to have fixed it.

View 2 Replies View Related

Ubuntu Servers :: FreeRADIUS And MySQL - Access Reject

Jun 11, 2011

I configured the server freeradius with mysql and I think I configured well freeradius and mysql but when I m testing my configuration with:
radtest nezar azerty 127.0.0.1 0 azerty1234
I have always:
rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=108, length=20

View 1 Replies View Related

Ubuntu Servers :: Connecting Tomcat And MySQL - Access Denied

Jan 13, 2010

I am up and running. Symptom: webapp/servlet deployed to Tomcat, utilizes JDBC driver for MySQL connectivity. Upon launching application in browser and performing action requiring database interaction, exception thrown, server log:

[Code]...

View 1 Replies View Related

Servers :: Access MySQL In Ubuntu Guest From WinXP Host?

Jul 3, 2010

I have Virtualbox setup

WinXP Host
Ubuntu 10.04 is the guest
Mysql is installed in ubuntu and it works fine in the guest (ubuntu)
Internet works fine in the host and the guest. Bridged Network.

Now, here is the thing... i want to access mysql from my host to load some data into it.

how do i access mysql from my host Win XP?

View 3 Replies View Related

Ubuntu Servers :: Cannot Access MySQL Database From Any Remote Host

Apr 15, 2011

I can not access my MySQL database from any remote host on my home network, I keep getting "Access denied for user 'dbuser'@'192.168.1.10' (using password: YES)"

From what I've read this seems to be a permission problem, I tried

'dbuser'@localhost';
'dbuser'@'%';
'dbuser'@'192.168.1.10';

and between each change of permission, I've flushed privileges.

View 1 Replies View Related

Fedora Servers :: MySql Compromised - Access Denial On Really Clients

Feb 16, 2011

My Linux server which is running my company website have been hacked. Today I saw a number of clients (customers) with some fun characters entries on my database. Access denial on really clients.

View 2 Replies View Related

General :: Access Remote Mysql Server Through Socks Proxy Server?

Aug 25, 2010

Scenario:A - Local Unix machineB - socks proxy server port 1080C - remote mysql server port 3306I want to connect to the remote mysql server(C) from local unix machine(A) using sock proxy(B).

View 1 Replies View Related

Fedora Servers :: Install MySQLbd (a Module For Python To Connect And Access MySQL)?

Sep 28, 2009

I was trying to install MySQLbd (a module for python to connect and access MySQL) I followed these steps for installation[URL].. but while I am getting some installation errors. When I try to run $ python set.py build I am getting the following errors (I removed few errors as I can post more than 10000 characters here)

[Code]...

View 3 Replies View Related

CentOS 5 Server :: MySQL Server Setup For Remote Access

May 4, 2009

I have just installed CentOS 5. I have set mysql database to access from remote machines. But now the problem is it is not connecting from the local machine now.

View 5 Replies View Related

Ubuntu Servers :: FTP-Server Accounts Storeable In MySQL Server?

Mar 2, 2010

I've just made my old, dusty computer into an Ubuntu Server. So far, i have installed a well functioned LAMP server, to host my Website. I have also installed a FTP-Server (proftpd) and i was wondering if i could manage my FTP accounts in MySQL so i could make an account creation page for it? If yes, how?

View 2 Replies View Related

Ubuntu :: Connecting Microsoft Access To MySQL On Server?

Mar 23, 2011

I've been using ubuntu for quite a few years, and know the basics of databases. However, how to get them to talk to each other... Not so much.

I need to be able to connect to a MySQL database using Microsoft Access 20074. The database is going to be running on my server, which runs ubuntu server 10.10.

So far, I have installed MySQL server and libmyodbc. I took the deetails for the odbc.ini file from the ODBC ubuntu community page, so this is the current setup (database name is business):

Code:
[ODBC Data Sources]
odbcname = MyODBC 3.51 Driver DSN
[business]

[Code].....

When I try to connect using Access, I get "Server does not exist or access denied."

View 3 Replies View Related

Server :: Mysql Remote Access Failed?

Dec 28, 2010

I'm using slackware 13.1 and I have a problem to accept remote access to mysql server.The steps I have followed to do that thing are:vi /etc/my.cnfline skip-networking is commented
bind-address my_ipaddressI opened the port 3306 of my firewallAlthough I can connect locally, i.e. mysql -u a_user -h localhost -pI can't do it remotely i.e. mysql -u same_user -h my_ipaddress -pI have also turned off my firewall, but nothing.telent 3306 my_ipaddress results in: telnet: connect to address my_ipaddress: Connection refusedMy my.cnf file is:

Code:
[client]
port= 3306

[code]....

View 14 Replies View Related

Server :: MySQL - Remote Access For Root?

Aug 9, 2010

I have a question in regards to enabling root remote access to the server.I am trying to use the mysql workbenchit kicks back an error saying "Access denied for user 'root'@'10.x.x.x' (using password: YES)" But I am able to login locally on the server.How do I enable root to long on remotely from any workstation?

View 3 Replies View Related

General :: Allow Remote Access To MySQL Server On Centos5?

Jan 7, 2009

I have yum installed mysql 5 on Centos5 and I can successfully run queries through shell.However, I want to now allow external access to mysql via some mysql tools (Mysql Administrator/Mysql Query Browser) which is on some windows machines on the same network.Mysql is running on port 3006.When i try connecting through mysql Admin i get the following:Could not connect to the specified instance.MySQL Error Number 2003Can't connect to MySQL server on 'ipaddress' (10065)If you want to check the network connection, please click the Ping button.Googling this I get the impression its something port related, but I have tried what I have found and still no go.When I ping the server I get:

Start Pinging:
Reply from ipaddress: Time=0ms TTL=64
Reply from ipaddress: Time=0ms TTL=64

[code]....

View 5 Replies View Related

Software :: Cannot Access MySQL Server Other Than User=root?

Apr 13, 2011

I've tried every manual there is for creating new MySQL users ... but without success.
I keep getting

Code:
ERROR 1045 (28000): Access denied for user 'test'@'localhost' (using password: YES) even though I just created it with all privileges ... WITH a password that I DO remember .

Fortunately I still have access via the MySQL root user (so I try not to disturb that user, because I have had computers with THAT account not accessible as well - even WITH resetting the password via skip-grant-tables).

View 5 Replies View Related

Ubuntu Servers :: Mysql Cluster Server 7.1 In 10.04 LTS?

May 21, 2010

With the new realease of Ubuntu 10.04 LTS, I was wondering if there was going to be a package for installing Mysql Cluster Server 7.1

If not does anyone know of a good walkthrough for compiling and installing it in Ubuntu 10.04 LTS?

View 8 Replies View Related

Ubuntu Servers :: Mysql Server Can't Be Accessed?

Jul 24, 2010

I have a xubuntu mysql server, and my winxp machine is unable to connect to the sql server using mysql ODBC.

View 2 Replies View Related

Ubuntu Servers :: Can't Connect To Mysql Server From LAN

Nov 19, 2010

I've looked everywhere for this (simple) problem, and I can't get this working. I have a mysql server on my LAN which is accessible from within the server.I want to access the mysql server from another computer on the LAN, but it never works.

View 7 Replies View Related

Ubuntu Servers :: #2002 Cannot Log In To MySQL Server

Feb 18, 2011

whenever i try to connect with phpmyadmin igot this error "#2002 Cannot log in to the MySQL server".how to recover this error?

View 6 Replies View Related

Ubuntu Servers :: Can't Install Mysql-server

Jun 3, 2011

i'm trying to install mysql-server on my pc. so i type this on my terminal:

Code:
sudo apt-get install mysql-server

it starts to download & install everything, but when it has to configure the server, it simply "freeze" and does nothing!

how can i solve that? i've tried to purge and reinstall, but it was no use!

View 6 Replies View Related

OpenSUSE :: Enable Remote Access To MySQL Database Server?

Jan 29, 2011

Enable remote access to MySQL database server I used the link above to enable remote access to mysql for a specific user. But when I try to telnet 3306 or user mysqladmin to connect, both just hang there. Using mysql 5.0 on opensuse 11.1

View 1 Replies View Related

Server :: Changed Root User Access For MySQL To Any From Localhost?

Mar 14, 2011

I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved