Comments (8)
@MahmoudKhaledAli : are there any warnings after command is started ?
also please paste the command you are using
from nocodb.
I got no warning, just that the number of tables is 1 and it generated 29 APIs.
This is the command:
xmysql -u root -p root -d classicmodels
Response for api/tables:
[
{
resource: "customers"
},
{
resource: "employees"
},
{
resource: "offices"
},
{
resource: "orderdetails"
},
{
resource: "orders"
},
{
resource: "payments"
},
{
resource: "productlines"
},
{
resource: "products"
}
]
from nocodb.
Since tables are getting seen from api/tables - it appears the connection to mysql is good.
Looks like there is problem initialising of xmysql.
from nocodb.
Can you try /api/orders/describe - if it fails - then there is issue connecting to example schema with credentials. Can you ensure for example mysql schema - right credentials are getting used ? Try any mysql client and see if it works fine.
from nocodb.
I tried and got cannot GET error.
I tried both MySQL Workbench and MySQL command line client and the credentials (root, root) are working fine. I also tried from Node.js with this config:
const LocaldbConfig = {
host: "localhost",
user: "root",
password: "root",
database: "games",
port: 3306,
dateStrings: "date"
};
And it's working fine.
If there's a problem connecting to the schema with the credentials, wouldn't that make /api/tables/ fail too?
from nocodb.
from nocodb.
Got a clue that mysql 8 returning some of column value in caps - which is resulting a problem in error generation. I have provided a fix in version 0.4.9
npm update -g xmysql
Try and let me know.
from nocodb.
It's working now. Thank you.
from nocodb.
Related Issues (20)
- 🛠️ Ops: Auto Upstall Script Enhancements
- 🧪 Test: Add Unit Tests for noco.sh
- 🛠️ Ops: Create Image for NocoDB in Cloud Matket Places HOT 2
- 🐛 Bug: postgres float8 not recognized as a 'numeric' field. HOT 5
- 🐛 Bug: Error occurs when copy to clipboard HOT 4
- 🔦 Feature: Define data type of formula result HOT 1
- 🔦 Feature: Support copy/paste of multiple cells HOT 2
- 🔦 Feature: Consistent keyboard navigation and editing across multiple field types HOT 1
- 🔦 Feature: Add Workspaces to self hosted versions HOT 1
- 🔦 Feature: support read-only and non-root docker containers HOT 7
- 🐛 Bug: Installation using windows executable and postgres-db does not work
- 🐛 Bug: PK not saving properly when adding row through UI HOT 3
- 🔦 Feature: how to use ollama( AI local model) chat with this Nocodb?
- 🐛 Bug: how to find my database in my computer? I want back up my table and attachments,so that I can deploy on a new device using docker?
- 🐛 Bug: csv upload into field set to duration fails
- 🔦 Feature: Image zoom / magnifier button on attachment pop-up preview.
- 后端接口怎么使用docker部署,package.json用的线上的包没有使用本地的
- 🐛 Bug: When removing and then re-adding a foreign key the selection menu doesnt show the first record
- 🐛 Bug: Many-to-many relationships are not deleted when deleting a record HOT 2
- 🔦 Feature: How to chat with obsidian and ollama(local language model)?
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 nocodb.