Cannot execute query on mysql ubuntu droplet.
i tried to execute this query :
select a.NAMA_MAHASISWA,a.TAHUN_MASUK,a.C_KODE_PRODI,b.*
from t_mst_mahasiswa a, smk_t_log_tra_mhs_nilai b
where a.C_NPM=b.C_NPM
AND b.C_TAHUN_AKADEMIK=‘2014-2015’ AND b.C_KODE_SEMESTER=‘1’
AND b.F_VERIFIED=‘0’
order by b.C_NPM ASC
but it return nothing. the query not excecuted.
i tried to execute the same query on my xampp localhost on windows and it was executed successfully.
anyone facing the same problem before?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
executed the query on pypmyadmin, also on mysql shell using : mysql -u root -p
it’s not executed because it returns nothing, both phpmyadmin and mysql shell.
the i run the same query on my xampp localhost on windows and it was executed successfully.
i follow this tutorial to build my webserver : http://www.servermom.org/build-ubuntu-server-a-complete-guide/
i’m sorry before, now the query was executed successfully. the problem is mysql use 100% of cpu, and then i’ve tried to index my table and it works. thanks for your help :)
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.