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 dont have phpmyadmin on my server. Dont really need it, but I need to run one query, is it possible to do it via SSH? CentOS 6.5
command that I need to run looks like this
update wp_wpa_anm set cat = concat(cat,'12,') where scp_egn = 'aut'
Something like this should work
mysql -u username -p database_name -ppassword -e "Select 1"
Have a look here for more examples
Related
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 6 years ago.
Improve this question
I have installed MySQL on mac, and was given a default password. Upon starting the server and entering the password, the error below appears:
How can I check the port mysql is running on?
That is an extremely stupid dialog box. It is obvious from the text of the error message that the server is running at the correct port. Your problem is the username, the password, or the access level granted to that user.
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 want to change slug x to slug y, it is so important and critical change.
There are ~ 150 tables with bunch of columns so Mysql search wouldn't be efficient. I tried to search from backup file. But I couldn't succeded with zgrep.
I would like to search 'x'|/x/ but not x-y or www.x.com it is actually simple regex but couldn't achieve with zgrep could you please give some advice how to use zgrep for this purpose ?
zgrep "'x'|/x/" daily_backup.sql.gz
any help would be appreciated.
Something like this?
zcat daily_backup.sql.gz| grep -E "'x'|/x/"
-E puts grep into 'extended regexp' so the alternation operator | works
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
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.
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.
Improve this question
I was trying to use MySQL Workbench to view and alter my tables on MySQL. The default password for other tools like mamp, wamp and lamp are usually root. However I tried using that and my computers root passwords, but both don't work. Can some one tell me what it is?
I found the answer on this link.
MariaDB admin user is called 'root', and its password is the same as the
DreamFactory administrative user password.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have to save a variable of my bash script into my mysql database.
Any Ideas?
Use the mysql command, something like:
mysql -e "INSERT INTO tablename (colname) VALUES ('$variable')"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I wanted to change phpmyadmin password using mysql database -> users table .. i changed password user root and once i restarted phpmyadmin all my databases were gone it was like i am not the admin anymore and now i have only 2 default databases
information_schema and test
what is the reason of this problem and how can i fix it ?
You have to explicitly create the user and the password. As mySQL does not support the creation of the username automatically.
I believe this has been answered before...
mysql phpmyadmin user password for database
Follow the following procedure.
1.Go to adressbar then type ip address for localhost (127.0.0.1).
2.In window that will appear
Type username root while password leave blank then press enter to continue.