Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7172 articles
Browse latest View live

how to install ZIP 5.5.29 for windows 7 (1 reply)

$
0
0
Hi,

I wanted to install latest version of MySQL on my local windows 7x64 OS and i discovered that zip only includes files of MySQL and not msi or installer.

I have no problem with it, however i would like to know what should i do to my it work as i consider this zip as "portable" mysql.

should i only add into environment variable, the bin folder and run mysql service ?
or is there something else to do ?
thx.

Can't connect to MySQL (4 replies)

$
0
0
On a remote Mac machine I install MySQL. Once installed I can connect by entering 127.0.01:3306. Since this is a remote machine it is very slow when I'm connected so I'm trying to connect to this same DB from my local Mac.

On my local Mac I install MySQL but no matter what I try I can't connect to the remote Mac. Here are the errors I've gotten and the things I've tried.


1. Connect method: Standard TCP/IP. I enter the host name (remote Mac) and port. I've tried username=root username=admin and I get this error.

Host: xx.xx.xx.xx is not allowed to connect to this MySQL server.



2. Connect method: Standard TCP/IP over SSH. I get this error: Can't connect to MySQL server on 127.9.91 (4)


Also, how do I find our set the password for ROOT on my MySQL server?


Thanks for any help.

How to replicate MySQL without 1062? (no replies)

$
0
0
for a long time I am figuring out how to set up an MySQL Master and Slave replication.

I followed the instructions from MySQL itself ( http://dev.mysql.com/doc/refman/5.5/en/replication-howto.html ) and several other resources. I've also tried to use the `INSTALL PLUGIN rpl_semi_sync_slave SONAME 'semisync_slave.so';` thing but doesnt work either.

_ALL_ solutions ending up with this error (not with the same key but same error code) `Last_SQL_Errno: 1062
Last_SQL_Error: Error 'Duplicate entry '881' for key 'PRIMARY''`

It is driving me so crazy I cant find a solution that blows this issue away!

I am running MySQL Server 5.5and want to replicate Typo3.

Basically I set the servers up like this:


########### On master ###########:
INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so';
SET GLOBAL rpl_semi_sync_master_enabled = 1;
rpl_semi_sync_master_enabled=1
SET GLOBAL rpl_semi_sync_master_timeout = 10000;

CREATE USER 'replicant'@'masterip' IDENTIFIED BY 'pw';
GRANT REPLICATION SLAVE, SUPER, RELOAD, SELECT ON *.* TO 'replicant'@'masterip' IDENTIFIED BY 'pw';

--- lock tables ----
FLUSH TABLES WITH READ LOCK;

tar -cvf /tmp/typo3db.tar /opt/mysql/server-5.5/data/typo3

scp /tmp/typo3db.tar transfer@slaveip:/tmp/ # Slave IP
#####################################


########### On slave ###########:
tar -xvf /tmp/typo3db.tar
cp -r typo3 /opt/mysql/server-5.5/data/

chown -R mysql.mysql /opt/mysql/server-5.5/data/typo3
chgrp -R mysql /opt/mysql/server-5.5/data/typo3
#####################################


########### On master ###########:
SHOW MASTER STATUS;
--- note File and Position. ---

bind-address = masterip in /etc/my.cnf

UNLOCK TABLES;

restart

INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so';
rpl_semi_sync_master_enabled=1
#####################################


########### On slave ###########:
in /etc/my.cnf below [mysqld] < server-id = 2
mysqld restart

INSTALL PLUGIN rpl_semi_sync_slave SONAME 'semisync_slave.so';
SET GLOBAL rpl_semi_sync_slave_enabled = 1
CHANGE MASTER TO MASTER_HOST='masterip', MASTER_PORT=3306, MASTER_USER='replicant', MASTER_PASSWORD='masterip', MASTER_LOG_FILE='mysql-bin.000013', MASTER_LOG_POS=153989, MASTER_CONNECT_RETRY=10;
STOP SLAVE IO_THREAD; START SLAVE IO_THREAD;
#####################################

In the beginning, it works beautifully. After some changes in Typo3 itself it bricks with the 1062 (duplicate) error.

I know the trick with `SET GLOBAL sql_slave_skip_counter = N;` but this isnt a solution!


I hope somebody can help me! Maybe there is another option to replicate a database? Maybe on filesystem level?


- Timo

Fail to stop mysql (Unable to lock ./ibdata1, error: 11) (no replies)

$
0
0
Hi everybody,

Since two days, I can't connect to mysql with my root account. I have no problem to log in with the other accounts.

I first thought my server was hacked and that somebody changed the password. I tried to reset it. To do so, I had to use mysqld_safe and therefore to stop mysql, that I failed to do:

# sudo /etc/init.d/mysql stop
Stopping MySQL database server: mysqld failed!

# mysqld stop
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
130107 13:48:34 InnoDB: Unable to open the first data file
[...]
InnoDB: Error in opening ./ibdata1
130107 13:48:34 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.1/...ror-codes.html
InnoDB: Could not open or create data files.
InnoDB: If you tried to add new data files, and it failed here,
InnoDB: you should now edit innodb_data_file_path in my.cnf back
InnoDB: to what it was, and remove the new ibdata files InnoDB created
InnoDB: in this failed attempt. InnoDB only wrote those files full of
InnoDB: zeros, but did not yet use them in any way. But be careful: do not
InnoDB: remove old data files which contain your precious data!
130107 13:48:34 [ERROR] Plugin 'InnoDB' init function returned error.
130107 13:48:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
mysqld: Too many arguments (first extra is 'stop').

MySQL couldn't read ibdata1, so I check its permissions that look correct:

# ls -l /var/lib/mysql/
-rw-rw---- 1 mysql mysql 18874368 Jan 7 12:39 ibdata1
-rw-rw---- 1 mysql mysql 5242880 Jan 7 13:05 ib_logfile0
-rw-rw---- 1 mysql mysql 5242880 Jan 7 13:05 ib_logfile1

I tried to move and copy the file like explained here, without any success:

# mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.bak
# cp -a /var/lib/mysql/ibdata1.bak /var/lib/mysql/ibdata1

Here is a part of my.cnf

user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
LANGUAGE = /usr/share/mysql/english
skip-external-locking
The datadir is correct.

As well, here is what happens when I try to get MySQL status:

# sudo /etc/init.d/mysql status
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
I found a solution to this problem on this page, but I have to log in as a root user to do so, that I can't do. I guess the two problems are linked.

Does anyone of you knows how to fix this? I'm blocked in my work because of this.

Thank you a lot for reading this message and maybe to reply to it.

Have a nice day!

error installing mysql 5.5.14 (no replies)

$
0
0
I am trying to install mysql 5.5.14 and I keep receiving an error almost immediately within the installation process. Error is as followed:

Error writing to file C:/programfiles(x86)mysql/mysqlserver5.5/liv/plugin/semisync_slave.dll

My system is Windows Vista Home premium 64 bit. any help appreciated!

[SOLVED]: Installation of Mysql-server-5.5 on Ubuntu 12.04, very resistant (no replies)

$
0
0
Hello,

I have for hours attempted to install Mysql in Ubuntu 12.04 last night and had no luck. Unfortunately I have no record of the exact error message I got, but I found attached log output on the net, and as far as I remember, this is as close as it gets to my problem, in particular the messages about innodb, invoke-rc.d etc ...

##################################################################################

apt-get install mysql-server

The installation aborts with the following error:

The following NEW packages will be installed:
libdbd-mysql-perl{a} libmysqlclient18{a} mysql-client mysql-client-5.5{a}
mysql-client-core-5.5{a} mysql-common{a} mysql-server mysql-server-5.5{a}
mysql-server-core-5.5{a}
0 packages upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.7 kB/26.2 MB of archives. After unpacking 94.5 MB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://mirror.eu.oneandone.net/ubuntu/ubuntu/ precise/main mysql-client all 5.5.22-0ubuntu1 [11.7 kB]
Fetched 11.7 kB in 0s (567 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 54008 files and directories currently installed.)
Unpacking mysql-common (from .../mysql-common_5.5.22-0ubuntu1_all.deb) ...
Selecting previously unselected package libmysqlclient18.
Unpacking libmysqlclient18 (from .../libmysqlclient18_5.5.22-0ubuntu1_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.020-1build2_amd64.deb) ...
Selecting previously unselected package mysql-client-core-5.5.
Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.22-0ubuntu1_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.22-0ubuntu1_amd64.deb) ...
Selecting previously unselected package mysql-server-core-5.5.
Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.22-0ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Setting up mysql-common (5.5.22-0ubuntu1) ...
Selecting previously unselected package mysql-server-5.5.
(Reading database ... 54189 files and directories currently installed.)
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.22-0ubuntu1_amd64.deb) ...
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.5.22-0ubuntu1_all.deb) ...
Selecting previously unselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.5.22-0ubuntu1_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up libmysqlclient18 (5.5.22-0ubuntu1) ...
Setting up libdbd-mysql-perl (4.020-1build2) ...
Setting up mysql-client-core-5.5 (5.5.22-0ubuntu1) ...
Setting up mysql-client-5.5 (5.5.22-0ubuntu1) ...
Setting up mysql-server-core-5.5 (5.5.22-0ubuntu1) ...
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
120502 10:17:41 [Note] Plugin 'FEDERATED' is disabled.
120502 10:17:41 InnoDB: The InnoDB memory heap is disabled
120502 10:17:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120502 10:17:41 InnoDB: Compressed tables use zlib 1.2.3.4
120502 10:17:41 InnoDB: Initializing buffer pool, size = 128.0M
120502 10:17:41 InnoDB: Completed initialization of buffer pool
120502 10:17:41 InnoDB: highest supported file format is Barracuda.
120502 10:17:41 InnoDB: Waiting for the background threads to start
120502 10:17:42 InnoDB: 1.1.8 started; log sequence number 1595675
120502 10:17:42 InnoDB: Starting shutdown...
120502 10:17:42 InnoDB: Shutdown completed; log sequence number 1595675
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Setting up mysql-client (5.5.22-0ubuntu1) ...
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
mysql-server-5.5
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mysql-server-5.5 (5.5.22-0ubuntu1) ...
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.5; however:
Package mysql-server-5.5 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.5
mysql-server

##################################################################################

I have tried everything up and down all the forums I could find to install, i.e.

sudo apt-get clean, autoclean, autoremove, purge, dpkg reconfigure, editing the my.cnf file etc, restarting the complete machine, in all variations and permutations. None worked, and quite a few people seem to have had the same problem. I finally got it to work, and I do not know why, but in case this might be helpful to someone, here is what I did to get it to work (pure trial and error, and admittedly completely senseless, but it works, so I do not really care):

downloaded deb packages from the mysql site. then

sudo apt-get purge mysql-server mysql-client mysql-common mysql-client-5.5 mysql-server-5.5
sudo dpkg -i mysql-5.6.9-rc-debian6.0-i686.deb
sudo dpkg -i mysql-5.5.29-debian6.0-i686.deb
sudo apt-get install mysql-server

and after the last step (and only after the last step) I had my mysql server up and running. i assume, the deb files install something right, that the apt-get installation then does not overwrite and uses. no idea, really.

if this helps 1 single person, great. just thought i share yet one more anecdotical solution to this obnoxious problem.

greetings

ingo

mysql_upgrade error 1064: you have an error in your sql (no replies)

$
0
0
I'm having problems using any kind of stored procedure. If I try to install this:

delimiter $$
drop procedure test $$
create procedure test( inout x char(1) )
begin
set x = 1;
end;
$$

Produces:

ERROR 1548 (HY000): Cannot load from mysql.proc.
The table is probably corrupted

So, I tried mysql_upgrade. I procedes up to a point:

mysql.user OK
Running 'mysql_fix_privilege_tables'...
ERROR 1064 (42000) at line 1112: You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 'sqlstate 'HY000' set
message_text='Unexpected content found in the performance_s'
at line 1
ERROR 1548 (HY000) at line 1125: Cannot load from mysql.proc.
The table is probably corrupted
FATAL ERROR: Upgrade failed

I guess this is a conflict with old data directory files.
Do I need to reinstall the initial system table files, or is there something else I can do?

TIA
Lee

which mysql
/opt/local/lib/mysql55/bin//mysql
which mysql_upgrade
/opt/local/lib/mysql55/bin//mysql_upgrade
ps -ef | grep mysql
300 36690 1 0 0:00.02 ?? 0:00.04 --user=_mysql
0 33144 1 0 0:00.05 ttys000 0:00.07 /bin/sh /opt/local/lib/mysql55/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/Lee.local.pid
300 33645 33144 0 0:05.68 ttys000 0:36.98 /opt/local/libexec/mysqld --basedir=/opt/local --datadir=/usr/local/mysql/data --plugin-dir=/opt/local/lib/mysql55/plugin --user=_mysql --log-error=/usr/local/mysql/data/Lee.local.err --pid-file=/usr/local/mysql/data/Lee.local.pid --socket=/tmp/mysql.sock --port=3306

MySQL 5.1.58 issues (no replies)

$
0
0
I’m trying to run MySQL 5.1.58 on Ubuntu 12.04, It’s a task I was assigned for those whose first question is 'Why don't you just apt-get?' I’m also trying to run Apache and PHP5. I compiled MySQL 5.1.58 and apt-get both Apache and PHP5. Everything works great, but when I try to connect PHP and MySQL with 'apt-get install php5-mysql', it breaks MySQL.

When I run ./bin/mysqld_safe -–user=mysql &, I get an error about /var/lib/mysql for .err, not being there. I tried ln -s to the mysql install location, that fixes that error. But, when I run it again, I still get an error. When I check the .err file it says:

[ERROR] Can’t find messagefile ‘usr/share/english/errmsg.sys’
[Note] Plugin ‘FEDERATED’ is disabled.
/usr/local/mysql/bin/mysqld: Uknown error 1146
[ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
InnoDB: Initializing buffer pool, size = 8.0M
InnoDB: Completed initialization of buffer pool
InnoDB: Operating system error number 13 in file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.
mysqld_safe mysqld from pid fiel /var/run/mysqld/mysqld.pid ended

I don’t understand what ‘access rights’ mysqld needs. When I check them, mysql user has ownership and the group is mysql of data folder in /usr/local/mysql/. Is there something I’m missing/doing wrong? Appreciate any help.

mysql odbc 5.2w driver (no replies)

$
0
0
Where can I download the MYSQL ODBC 5.2w Driver? I'm using Windows 7 64-bit and have a DSN set up that used that driver. Now want to delete the dsn but get the error "MYSQL ODBC 5.2w Driver is not registered on the local machine". I also can't use vb.net in Visual Studio 2012 to use it because I get the same error message when attempting to connect.

I've looked at the mysql download page and can not find a link to download that version of the driver.

MySQL Community Server 5.5.29 crash on install (no replies)

$
0
0
I've tried running this installation many times, and as far as I get is the "configuring windows" pop-up and then when the bar fills up, it just stops. Nothing happens after that.

Please help.

Error starting MySQL service (no replies)

$
0
0
Hello,
I've installed MySql 5.5.29 on a Windows Server 2008 R2 server using the Windows Installer package downloaded from MySql website.
At the end of the installation, the setup wizard attempts to configure the MySql instance, unsuccessfully. The MySql service starts but after a few seconds it automatically stops. In the windows event viewer appear this error:

"The description for Event ID 100 from source MySQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

TCP/IP, --shared-memory, or --named-pipe should be configured on NT OS"

How can I resolve this error?
Thanks!

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) (no replies)

$
0
0
Hi All,

I am trying to enter into mysql prompt but it is showing the error like this
mysql -u root -p

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

actually it is not installed by me and idon't about the users given by the installer

I am using the RHEL 6 Server Iam performing this operations as super user .

Your help would be appreciated.
thank you.

Reinstall MySQL after OS failure (1 reply)

$
0
0
One of our servers had an OS failure and lost key MySQL files in certain mountpoints (files include my.cnf, /var/mysql/*). The only file we have are the idbdata files.

I installed MySQL and pointed my.cnf to location of the ib_data files. While restarting MySql, I see the following error -

InnoDB: Error: log file /san/ib_logfile0 is of different size 0 52428 80 bytes
InnoDB: than specified in the .cnf file 0 268435456 bytes!


Is there any way I can restore the db with these files - ib_logfile1, ibdata1, ib_logfile0

It will be great if someone can give me pointers on this?

Thanks

cannot get 3306 open. windows 7 using norton360 (2 replies)

$
0
0
I am trying to do a first install of MYSQL using version 4.1.21. and I get a open TCP port 3306 for connection.

(am presently on a Webmaster course and they are using the older versions hence 4.1.21)

I am using windows personal firewall and this is run through Norton 360.

How do i get the port open?

Red Hat v6 rpm package question (no replies)

$
0
0
To All:

Being new to redhat in general (Migrating from Solaris) I have been trying to figure out how to place the mysql base dir in /apps/mysql vs the normal default dir. It appears that the packages are not able to be relocated with a rpm command. I am pretty much boxed into putting the files onto the /apps/mysql and /apps/mysql_data Whats the best way to do this?

*Note I did look for a tar Redhat version that was pre-compiled and not in a RPM but didnt see it (Binary pre-built .tar.gz)

Additional question:
The box cam pre-installed with 5.1 on it. Do I need to remove the prior versions before doing what I am looking to do. Yes I do understand the lib files and other items will need to be set to point to the new locations in /apps if I manage to get the first part done


Thanks

Have MySQL Installed, but PC start up interferred with Very Badly (no replies)

$
0
0
Was able to load SQL to my wintel laptop and start it up, but now everytime I start my PC it will not start at first, throws up a choice to go to 'correction routine' or 'start normally'. I

If I start normally, it throws up a grey screen and sits there, dead. (but see [HOWEVER] below)

If I go into the correction routine screen, it throws me into a choice to 'restore to an earlier date', or' search for an correction (I think an HP process)'.

After letting the latter search for a correction, it doesn't find one. Only option then is to 'finish with an automatic reboot'.

HOWEVER, after the reboot, it does the same thing ALTHOUGH is was Able to hit [fn] [Pause] on the dead grey screen, and then it will start.

Please advise urgently, I think you very much.

Bernard

installation failure (3 replies)

$
0
0
I reinstalled mySQL on my windows 7 PC because the first installation would not let me create a server instance or a database connection. It always says 'root@localhost' access denied. But I could not finish the re-installation because at the configuration step of installation, I got error message: last error: unable to update security settings. access denied for user 'root@localhost' (using password: yes).

What should I do to solve the problem? Your help will be greatly appreciated.

Thanks in advance.

gem install mysql2 error (no replies)

$
0
0
I have Windows 7. I am trying to get the gem installed for MySQL Server 5.5
So, I get the zip file for gem from Brian Mario’s repository on github mysql2, extract it in the new mysql2-0.3.12b5 folder and start the procedure as follows. As seen below, I get the error “file 'lib' not found” at the end. I tried many times, got the same problem. Anyone has a solution to this?

EDZIBA-PC /c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ gem build mysql2.gemspec
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
WARNING: no description specified
Successfully built RubyGem
Name: mysql2
Version: 0.3.12b5
File: mysql2-0.3.12b5.gem

EDZIBA-PC /c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ subst X: "C:\Program Files\MySQL\MySQL Server 5.5"
Drive already SUBSTed

EDZIBA-PC /c/railsinstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.12b5
$ gem install mysql2-0.3.12b5.gem --platform=ruby -- --with-mysql-dir=X: --with-mysql-lib=X:\lib
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed mysql2-0.3.12b5
1 gem installed
Installing ri documentation for mysql2-0.3.12b5...
file 'lib' not found
Installing RDoc documentation for mysql2-0.3.12b5...
file 'lib' not found

MySQL Installation (1 reply)

$
0
0
We are working on setting up MySQL database on a Windows system. Does this have to be Windows Server or can it be on a regular OC? Is there any difference in db configuration between a Windows server vs PC? Also, any recommendations on how to backup the db on regular intervals?

mysqladmin remote authentication (1 reply)

$
0
0
I installed MySQL server .

Right after I installed MySQL server I did this:

a) mysqladmin -u root password 'secret'
b) mysqladmin -u root -h localhost 'secret'

Both commands works fine. I then decided test it more.

c) mysqladmin -u root -h localhost --password=secret ping ( see if mysqld is alive , this works)
d) mysqladmin -u root -h nwsql --password=secret ping ( this does not work )

Step D , gives me an access denied error.
I guess the only difference is step D authenticate using the listener, where the step C is authenticate locally ?

How can I fixed access denied error on step D ?

note: I tried the following and still not working:

GRANT ALL PRIVILEGES ON *.* to 'root'@'%' IDENTIFIED BY 'secret' ;
FLUSH PRIVILEGES ;
Viewing all 7172 articles
Browse latest View live




Latest Images