Fedora Servers :: MySQL Doesnt Wanna Set A Pass?

Jun 24, 2009

This is my first post. After executing /usr/bin/mysqladmin -u root password 'thepass' as a root, I get this:

Code:
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
SELinux is off.

View 14 Replies


ADVERTISEMENT

General :: Interact With The Mysql To Reset The Root Mysql Pass?

Jun 14, 2011

I have tried many different ways to interact with the mysql to reset the root mysql pass. This is what I got to right now

Code:
#!/bin/sh
newpass=$1
service mysqld stop
mysqld_safe --skip-grant-tables --skip-networking &
echo "use mysql;" >> /tmp/mysql_pass_reset.txt
echo "update user set password=PASSWORD("$newpass") where User="root";" >> /tmp/mysql_pass_reset.txt

[Code]...

View 6 Replies View Related

Ubuntu Servers :: Noob Wanna Configure SNMP On Server?

Jan 22, 2010

finnaly i can run my ubuntu server 9.04 well, thnx to this great member of ubuntuforums.org now, i wanna i wannna install SNMP on my system, but after i do that, when i wanna connect with another client, it give me error like this :

Code:
no response received
SNMPv1_Session (remote host: "10.100.7.179" [10.100.7.179].161)
community: "public"
request ID: 862383236
PDU bufsize: 8000 bytes

[Code]...

10.100.7.179 is my client, i allready install snmp agent on it. but why still eror then? plz give some help. thnx before

View 1 Replies View Related

Fedora Servers :: Httpd Starts But Doesnt Work ?

Mar 18, 2009

I want to run a web server.

I've done

When i do [url] i get a blank page.

View 14 Replies View Related

Fedora Servers :: Samba Doesnt Work In 12 - Not Allowed To Access

Mar 29, 2010

I am fairly new to Fedora or rather use it only for some school exercises I get. I have to setup a Samba server with some basic settings and it doesn't want to work. I first tried it on the Fedora VM I got from school (version 11). It somehow worked, but extremely bad ... the Windows client had to wait for over a minute to get either access or an errormessage, that the server was not found (but when entered the ip in the adressfield on top it worked (with a minute or more to wait)). I tried updating the VM - no improvement. So I decided to download Fedora 12, installed it and the Windows client gains instant access on first glance. But when I try to get access to a specific share, it only tells me, that I am not allowed to access it Oo.

Here is my config:

Code:

I even turned off iptables and Windows firewall.

The funny thing is: I tried exactly the same config on my homeserver (copy and paste), which runs Arch, and it works with no problem. But on Fedora I cant access it from nowhere. Not from WinXP, Win7 or any Linux. Simply won't work.

I dont have any gui on Fedora

View 5 Replies View Related

Fedora Servers :: Localhost Httpd Server Doesnt Have Internet Connection

Jan 5, 2010

i have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine

View 3 Replies View Related

Server :: Get Variable From Bash From Mysql Or Pass From Php?

Apr 26, 2010

I am not parsing on a webserver so is it possible to have both

#! /usr/bin/php &
#!/bin/bash

in the same script? Alternatively, I have a current bash script that I need to get some variables from mysql and not sure how to get mysql results in bash:

Quote:

mysql -h server.net -u username1 -paaa -e "USE squid; SELECT email, usern FROM TABLE WHERE blah blah;"
emailadd="resultfrom above"
usern="resultfromabove"

View 11 Replies View Related

Fedora Installation :: Noobie> Fedora Server > Wanna Install Kde Or Gnome?

Sep 23, 2009

i am justin i'm 17 years old and new with linux, i use ubuntu and linux mint 7 and a friends of my has a dedicated fedora server. he asked me to intall a desktop manager ( or something that is the same, dont know how to call it ) so he could use remote desktop to acces his server

i have connected the server trought ssh and i am in the terminal. Now i want to install kde or gnome so i and my friend could use the server as a mail en WWW bla bla bla server. and my question is how i need to do that i tryd : yum groupinstall "KDE (K Desktop Environment)" and yum groupinstall "X Window System" but none works i have seen those commands on this forum so i tryd it.

View 14 Replies View Related

Fedora Servers :: Mysql At Boot Time In 10 / Get Mysql To Start At Boot?

Jul 28, 2009

I am trying to get mysql to start at boot without any success.

The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:

Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended

The same init script works fine in Ubuntu.

View 2 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 :: 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

Fedora Servers :: MySQL Acees Over LAN?

Oct 22, 2010

I've setup a fedora core 13 server and I am running mysql on it. I wanted to use MySQL Workbench on my Windows 7 computer on the same LAN to connect to the database. Currently I am unable to connect to the database except if I go through ssh. What ports do I need to open on my firewall? Is there any specific configuration that I need to do to my MySQL database to get it working?

View 3 Replies View Related

Fedora Servers :: Php Not Seeing Mysql Module Installed ?

Mar 4, 2009

long time user of redhat, first time user of fedora...

Installed fedora 10 to the hard drive (building a new web server, switched from RHEL5)

Started to install everything I need, apache, php, mysql, odbc, iseries access for linux, etc...

Got to the php modules, installed php-odbc, php-mysql, etc... but php doesn't see the mysql module

doing a phpinfo() produces -without-mysql

uninstalled it, reinstalled it (this is all done through kpackagekit so far) - no good

uninstalled and tried to reinstall via yum, no good

all the config files are fine - copied my php.ini from the old server and let the installs create the new mysql ini files

how to get it in ? this is my last step before i can begin pen and vulnerability testing it.

View 1 Replies View Related

Fedora Servers :: Changing MySQL Datadir?

Aug 16, 2009

Has anyone been able to successfully change MySQL's default datadir in Fedora? I've tried on two machines now (F7 and F11), but run into the same problem on both. Here is what I did:

1. shutdown MySQL (service mysqld stop)
2. create new mysql directory (e.g. ~/mysql/) and set ownership to mysql:mysql
3. move tables from /var/lib/mysql to the new directory (I've tried moving only one user-created table, and also moving system tables with same result).
4. edit my.cnf and change "datadir" to point to new location
5. start MySQL (service mysqld start)

[Code]...

View 7 Replies View Related

Fedora Servers :: MYSQL MAX Connection Per User

Sep 28, 2009

I am running a mysql 5.0.41 community edition server.i have a user x and i need to set max connection limit for the user... Can any one give the correct syntax to update the current user to include max connection for the user x.

View 1 Replies View Related

Fedora Servers :: MySQL CPU Usage Spiking?

Oct 15, 2009

Having major problems with mysqld causing CPU usage to rocket to 100% on one core for a short time, which usually drops back down again to 1-7%, though sometimes it can last an extended period of time. This is a problem because things using mysql become unresponsive in this time.

[Code]...

View 4 Replies View Related

Fedora Servers :: Upload Something Via Http To MySQL?

Nov 18, 2009

I have a server (fedora 11 , LAMP). I want to know if I can upload something to my server via http (I mean from WAN),and this data stream can directly run into MySQL database . Do I need to write some special codes on my web page , or just change apache's configure file

View 7 Replies View Related

Fedora Servers :: Windows Xp Does Not Connect In MYSQL 5.1?

Dec 15, 2009

I installed Fedora 12 with package standard of the MYSQL, configured this the same twirling in such a way localhost as in one it schemes with windows VISTA, to put I have others 4 you scheme with windows XP that I do not obtain to have access in the MYSQL. What I have to make pra these you scheme with XP to have access?

View 2 Replies View Related

Fedora Servers :: MySQL Connection Failed

Jun 26, 2010

Let me show you the Details:

[code]...

So that means the User Test can connect from any host without password and with the named privileges, but he has no right to grant any privileges. CONSOLE:

[code]...

View 1 Replies View Related

OpenSUSE Wireless :: KNetworkmanager Doesnt Work - Doesnt Respond To My Clicks

Nov 23, 2010

I want to connect my OpenSuse 11.3 Distribution with the Internet via WLAN. But i can't open the KNetworkManager. It doesnt respond to my clicks. If I click on the KNetworkManager "Button" it doesen't react.

Result : I can't modify my WLAN-Connection.

View 8 Replies View Related

Fedora Servers :: Making MySQL As Secure As Humanly Possible

Sep 3, 2009

After securing webmin on my web server, with a custom SSL connection.I wanted to do the same with phpMyAdmin. But I am unsure of where to look for the best tutorial(s) to do this, can anyone help?Plus I saw once at work our network tech adding in accounts but then allocating that to the login itself.For example, when your brought up with a .htaccess prompt in the browser, thats assigned to you login within phpMyAdmin, taken from the db server no doubt, is it possible to do this?Should there be anything else I need to know in securing mysql?I have limited all services to a set number of IPs so non of its publically functional at the moment so I can take as long as possible, but naturally I'd like to be able to be as speedy as possible about getting this sorted.

View 7 Replies View Related

Fedora Servers :: Yum Install For Mysql To Setup Email?

Oct 19, 2009

is this command exact or do I replace anything with my own setu

" yum install mysql mysql-devel mysql-server "

who can't tell what has to be changed for "My server name" and "my setup"

View 8 Replies View Related

Fedora Servers :: Secure - Httpd Tomcat Mysql

Dec 19, 2009

I just installed FC12 x86_64. After a clean install I found that httpd, mysql, svn, svnadmin, etc are already installed. I still need to install and configure tomcat running as a worker behind httpd and configure everything. But my question is about security. What do I need to do to ensure that when I start httpd and mysql that they are secure? Are there default settings that I need to change? Are there security patches I need to apply?

System Config:
Fedora Core 12 x86_64
AMD Athlon II X2 250 3.0 GHz dual core
GIGABYTE GA-MA785GM-US2H
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 1066 (PC2 8500) Dual Channel Kit Desktop Memory Model F2-8500CL5D-4GBPK

View 8 Replies View Related

Fedora Servers :: LAMP Installed But Can't $conn To Mysql

Nov 2, 2010

it seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.

[Code]...

View 1 Replies View Related

Fedora Servers :: MySql Does Not Start On A Glusterfs Client

Nov 16, 2010

I was installing a 2 server cluster ISPConfig3 with the help of GlusterFS. I was following this manual - Link

In the server the file /etc/glusterfs/glusterfsd.vol

Code:
# Configuration for the mysql server volume
volume posix-mysql
type storage/posix
option directory /media/big/myweb/export-mysql

[Code].....

View 3 Replies View Related

Fedora Servers :: MySQL Daemon Failed To Start?

Apr 17, 2011

I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?

View 10 Replies View Related

Fedora Servers :: Mysql Driver For Bind In RPM Format?

May 14, 2011

anyone come across a mysql driver for Bind that is already in RPM format? I know there is one that you can compile, but i was just curious if anyone knew of a MAINTAINED package that does that same thing?

==Edit== While i'm at it, does anyone know of a way to have bind call a STORED PROCEDURE, instead of directly querying a table? That'd be sweet. --Or, even having bind query a php file, or a webhost, would be good... I'm going to google that one now....

==Edit== Screw the mysql driver: [URL]

how to use php to serve dns requests...

View 1 Replies View Related

Programming :: Pass Variable In Mysql Qyery In C Programming?

Dec 4, 2010

i want to pass variable in mysql qyery in c programming

View 1 Replies View Related

Ubuntu Servers :: Playlist Doesnt Work - M3u File ?

Jul 12, 2010

I found some code and tuts that tell me how to create a playlist, and I followed it to the letter but it doesnt work...I'm guessing it has somethin to do with my configuration settings with apache, otherwise here's the code:

Code:

So inside the m3u file the code is:

Code:

View 2 Replies View Related

Ubuntu Servers :: Adduser Doesnt Work Correctly?

Jun 10, 2011

I was being stupid, and didn't read the manual properly... shame i can't delete the thread!

View 1 Replies View Related







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