Comments (7)
This really looks like a MySQL permissions issue. Are you able to connect to the suma database using the suma_application
username and the password you've specified in the suma server config file using a MySQL client (either on the command line, or a GUI application)? Is it possible that you've created the account, but not granted the privileges for access from localhost
?
from suma.
I have done all of this in phpmyadmin. The suma_application user exists in the user table, and I see that it has privileges for the suma database specifically. Also, the host is set to %, which I understand to be any host, including localhost. Is there anything I might still be missing?
from suma.
Let me think about this, but for now let's try the following two ideas:
- Please double-check the username and password in the Suma config.ini file.
- Change the host for the suma_application user to
localhost
(assuming that the MySQL server and the Suma server are on the same server). There is no need to open access to this account to the world, and there are some cases where wildcard hosts can cause issues in MySQL:
It is necessary to have both accounts for monty to be able to connect from anywhere as monty. Without the localhost account, the anonymous-user account for localhost that is created by mysql_install_db would take precedence when monty connects from the local host. As a result, monty would be treated as an anonymous user. The reason for this is that the anonymous-user account has a more specific Host column value than the 'monty'@'%' account and thus comes earlier in the user table sort order.
http://dev.mysql.com/doc/refman/5.6/en/adding-users.html
from suma.
Changing the host to localhost brought up some different errors:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1049] Unknown database 'sumadev'' in C:\wamp\www\app\sumaserver\lib\zend\library\Zend\Db\Adapter\Pdo\Abstract.php on line 144
PDOException: SQLSTATE[HY000] [1049] Unknown database 'sumadev' in C:\wamp\www\app\sumaserver\lib\zend\library\Zend\Db\Adapter\Pdo\Abstract.php on line 129
Zend_Db_Adapter_Exception: SQLSTATE[HY000] [1049] Unknown database 'sumadev' in C:\wamp\www\app\sumaserver\lib\zend\library\Zend\Db\Adapter\Pdo\Abstract.php on line 144
from suma.
Are you sure the sumadev
database has been created and the suma_application user has access to it?
from suma.
Ah, that might be it. I named it just suma, not sumadev.
from suma.
Yes, that was it. I renamed it and am able to access Edit Locations. Thanks again, cazzerson! I appreciate it.
from suma.
Related Issues (20)
- Fully justify settings options in client HOT 4
- Left justify initiatives list HOT 6
- Update developer documentation
- Add parent location to top of location tree HOT 1
- Make initiative title more visible in the client HOT 1
- No initiative should be selected by default HOT 2
- Changing initiatives should end active session HOT 1
- Remove "require all locations" option
- Create changelog in project root
- Suma Server Keeps Logging Admin User Out HOT 2
- LCA Transformer on PHP 7.4 HOT 6
- count bug related to default initiative
- Duplicate submissions allowed HOT 1
- Logging into Admin HOT 1
- Containerization of Application HOT 1
- Updated Install Documentation HOT 2
- Cannot find old initiatives data HOT 3
- DEBUG mode breaks Suma
- Store release version number somewhere in the project files
- Offline mode?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suma.